2

I have been struggling with this problem for hours now. I have tried all tips I found at StackOverflow, but they did not help me.

The problem:

I have imported HoloEverywhere in Eclipse. I then imported ActionbarSherlock into HoloEverywhere, as is said here only to get a bunch of errors. Also, R.java is not being generated for the HoloEverywhere project (I tried cleaning all projects, didn't work).

Judging by the log output, I'd say there are repeating attribute names in the ActionbarSherlock and HoloEverywhere projects. How do I fix that?

Here is part of the log:

[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'.

Any help is much appreciated.

4

2 回答 2

1

如此处所述:https://stackoverflow.com/a/19113424/1102276,您必须对 HoloEverywhere 库使用 v1.6.8 以消除错误(https://github.com/Prototik/HoloEverywhere/releases /tag/v1.6.8 )

于 2013-10-10T17:41:24.510 回答
0

将 actionbar sherlock 保留为 holoeverywhere 库的一部分,但将其从实际的应用程序项目中删除,我遇到了同样的问题并修复了它。还要确保 android-support 库是相同的。

于 2013-09-26T06:07:17.683 回答