I am using ActionBarSherlock as a library project in a project which is a library itself. It was all working fine until I moved the project to a new computer and updated the
I had same problem. There were 2 different libraries. Delete support library from your main project
I was using Android Studio and faced with similar problem(for loading ListFragment). I had initially imported library:
import android.support.v4.app.ListFragment;
And then updated build.gradle inside app diectory: Make sure dependencies section includes support libraries-
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:20.0.0 }
Sebastien's answer actually led me to the solution. However, it is important to mention that the support library has to be added manually to the build path in order to be able to check it for exporting. For future reference, here are the steps that solved the problem for me:
However, it is a mystery for me why this has to be so complicated - as Josh mentioned, Eclipse in combination with Android and large projects with a couple of dependencies is hard to use and I hope this will be improved in near future.