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 SDK tools.
I have this error I don't understand. When I create a class extending SherlockFragment like this:
import com.actionbarsherlock.app.SherlockFragment;
public class SomeFragment extends SherlockFragment {
...
}
I have the following compilation error:
The type android.support.v4.app.Fragment cannot be resolved. It is indirectly referenced from required .class files
I have checked the following:
Anything else?
I had the same problem as you since I had updated the SDK. I have solved my problem by doing this (on eclipse) :
Properties
=> Java Build Path
=> Order and Export
tab => check android support v4
or Android Private Libraries
and select Okcheck Android Private Libraries