I\'m making a new android app, and I am using the action bar sherlock library.
I imported the library as a project and got two errors. First, all my layouts are not
Make sure that your project and the imported library use the same Android version.
This is often related to the Android version your project uses, specifically if you import something that is a different version than your project.
For a walkthrough to fix the problem, see my answer here
Please note that to compile an android project successfully and to have it run on older version of android is (mostly) a different thing.
for your answer, android:Theme.Holo is android Honeycomb and above theme. So ActionbarSherlock & your project must be compiled with (minimum) API level 11 (Android 3.0). Usually I just pick ICS (14+)
to have it run on older version of android: open your project manifest file, change the line:
<uses-sdk android:targetSdkVersion="14"/>
to
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="14"/>
Your android app can run from API level 7 (2.2) to API level 14 (4.0). You can test by running it with 2.2 emulator.
Note that ActionbarSherlock doesn't run with API level lower than 7.
The problem was not the Android Version it was the Java Version. Most of the Android library and also Android too, can not handle Java 1.7. I change my project properties and build my project under java 1.6 and it works. Same problem by HoloEverywhere.