It looks like the path to the ABS library might be wrong. The steps are as follows.
1.) Launch a new Android project - from an existing source
- Use JakeWharton-ActionBarSherlock-436230d / library as the source.
2.) Right-click on the abs project - select properties - select Android
- Make sure the βLibraryβ box is checked at the bottom.
3.) Right-click on the project YOURS - select properties - select Android
- Press button
- The ABS library must be indicated in the field. Select it, and now you import it into your project.
Remember to include in your AndroidManifest.xml to set the style for each action that the ActionBar will be in, you must add the following line:
android:theme="@style/Theme.Sherlock"
One more thing. As far as I know, the ActionBarSherlock project should remain in your package explorer. Make sure you do not delete it. This may cause a path error.
Hope this helps!
source share