I’m using the Eclipse ADT bundle v21. I’m trying to do what is described here.
When I create a new Android project it will automatically add android-support-v4.jar to the dependencies and in the /libs folder of the project.
When I now make ActionBarSherlock a dependency (add o the library list of Project>Properties>Android), Eclipse says:
Jar mismatch! Fix your dependencies
because ABS has the same jar.
I managed once to just delete android-support-v4.jar from the /libs folder and everything went fine, but with every new project I create it doesnt work, Eclipse won’t let me delete that jar:
An exception has been caught while processing the refactoring ‘Delete’.
Reason: Problems encountered while deleting resources.
I havent been doing anything differently when creating the one project where the deletion of the jar from /libs worked fine. Is there some workaround or am I doing something completely wrong?
Now your project uses the latest support jar from ABS project, so no need to add it to any other projects that depend on ABS project.