I am trying to use Jake Wharton\'s ActionBarSherlock to support actionbars in android projects all the way down to 1.6
I\'m getting started using the video provided
My fault was, that the ABS-project and my project had different API levels. ABS was on level 4.0.3 and my project had 3.0. After changing the API level of my project to 4.0.3 all errors were fixed. This post helped me to find the solution.
Found it!
Instead of:
Project > Clean > Clean Projects Selected Below
you must use
Project > Clean > Clean All Projects
Even if none of the other projects have anything to do with the library project. This fixed the problem
R
file not created you should first try:Project > Clean > Clean All Projects
ActionBarSherlock
:Instead of importing the single folder actionbarsherlock, I ended up picking the parent folder and unchecked everything but actionbarsherlock in the Import Projects window.
Mine was different:
I have a 64bits OS (linux mint) and I had to install the 32bit libraries:
sudo apt-get install ia32-libs
After this just clean all and build a new project and it worked.
Might also need to make sure your nen/R.java file is created for the right package name:
On AndroidManifest.xml, make sure the manifest tag, package attribute is set to:
"com.actionbarsherlock"