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.

Was it helpful?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top