Is there added Android support library in Build Path? In "lib" folder of your project should be file android-support-v4.jar.
If not, firstly download it through your SDK Manager
Question
I tried to load the demos on ActionBarSherlock but I'm getting an error on its Activities using FragmentTransaction
. The activities are FeatureToggles
and TabNavigation
. I'm also getting an error on TabNavigationCollapsed
because it's extending TabNavigation
which uses FragmentTransaction
.
The error is:
The import android.support.v4.app.FragmentTransaction cannot be resolved
What could be my error? My Project Build Target is Android 4.0.
Solution
Is there added Android support library in Build Path? In "lib" folder of your project should be file android-support-v4.jar.
If not, firstly download it through your SDK Manager