Question

I cannot get HoloEverywhere to work in Eclipse. Eclipse shows 606 errors in themes-core.xml and themes.xml, all saying

error: Error: No resource found that matches the given name: attr 'activatedBackgroundIndicator'

(Or another attributes).

As an example, right at the beginning of themes-core.xml, the line that contains the above mentioned error is:

<item name="activatedBackgroundIndicator">@drawable/activated_background_holo</item>

I have imported HoloEverywhere to Eclipse using EGit. I have also added ActionBarSherlock to my workspace and linked it to HoloEverywhere correctly (All classes from ActionBarSherlock are resolved correctly in the project).

I searched SO for a solution, but unfortunately could not find one.

Any help would be highly appreciated.

Was it helpful?

Solution

I finally found out what was causing the problem:

Android library projects have to be added via the Android tab in the Project settings, not via the Java Build path. So, for adding the ActionbarSherlock dependency you have to open the settings of the HoloEverywhere project, choose the "Android" tab, click add and choose the ActionBarSherlock project.

I hope this helps future readers.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top