【发布时间】:2013-09-17 23:25:57
【问题描述】:
我已经为这个问题苦苦挣扎了好几个小时了。我已经尝试了在 StackOverflow 上找到的所有提示,但它们对我没有帮助。
问题:
我在 Eclipse 中导入了 HoloEverywhere。然后我将 ActionbarSherlock 导入 HoloEverywhere,正如 here 所说,只是为了得到一堆错误。此外,没有为 HoloEverywhere 项目生成 R.java(我尝试清理所有项目,但没有工作)。
从日志输出来看,我认为 ActionbarSherlock 和 HoloEverywhere 项目中有重复的属性名称。我该如何解决?
这是日志的一部分:
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:28: error: Error: No resource found that matches the given name: attr 'android:textAppearanceLargePopupMenu'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:29: error: Error: No resource found that matches the given name: attr 'android:textAppearanceSmallPopupMenu'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:30: error: Error: No resource found that matches the given name: attr 'android:windowMinWidthMajor'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:31: error: Error: No resource found that matches the given name: attr 'android:windowMinWidthMinor'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values\themes.xml:152: error: Error: No resource found that matches the given name: attr 'android:listChoiceBackgroundIndicator'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:43: error: Error: No resource found that matches the given name: attr 'android:activatedBackgroundIndicator'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:44: error: Error: No resource found that matches the given name: attr 'android:dialogTheme'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:45: error: Error: No resource found that matches the given name: attr 'android:dividerHorizontal'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:46: error: Error: No resource found that matches the given name: attr 'android:dividerVertical'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:47: error: Error: No resource found that matches the given name: attr 'android:textAppearanceLargePopupMenu'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:48: error: Error: No resource found that matches the given name: attr 'android:textAppearanceSmallPopupMenu'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:49: error: Error: No resource found that matches the given name: attr 'android:windowMinWidthMajor'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values-v11\themes.xml:50: error: Error: No resource found that matches the given name: attr 'android:windowMinWidthMinor'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values\themes.xml:188: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values\themes.xml:238: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
[2013-09-18 02:34:22 - library] D:\HoloEverywhere-master\library\res\values\themes.xml:274: error: Error: No resource found that matches the given name: attr 'android:windowActionBar'.
非常感谢任何帮助。
【问题讨论】:
标签: java android xml actionbarsherlock android-holo-everywhere