8

I would like to use the library ActionBarSherlock in one of my projects, but I get errors all over the place when I create a project as a library with sources!

I followed the instructions correctly, as shown here for example: Greendroid or ActionbarSherlock - setup

But I get many errors like:

Error retrieving parent for item: No resource found That matches the given name 'android: Theme.Holo.Light' in abs__styles.xml
Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
letroll
  • 1,059
  • 1
  • 14
  • 36
  • I get this same problem happening too. Also, this question should not be closed. The errors happening are very clear ("Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo'."), as well as the steps that were followed to reproduce. – Marchy Feb 28 '12 at 01:18
  • I finally managed to use ActionBar sherlock, I have in my manifest: `code``code` and in my file style.xml `code` – letroll Feb 28 '12 at 10:30

1 Answers1

1

Check the official usage page and the sample projects that come with the source, using third-party tutorials is not always a good idea. If you still have problems post concrete errors and stack traces. Also consider posting on the project's official Google group, you have a better chance of getting help there.

Nikolay Elenkov
  • 52,576
  • 10
  • 84
  • 84
  • I have already thought of that, unfortunately, but as the library does not work either demos – letroll Dec 20 '11 at 15:29
  • Really? The official group has a lot info, someone even made a youtube video on how to set it up, check it out. Other than that, make sure you are compiling with API level 13 (Android 3.2) and you've properly added the library project. Using the latest ADT version (16) also helps. – Nikolay Elenkov Dec 20 '11 at 15:37