Question: While working on the Big Nerd Ranch's Criminal Intent project when I updated my AppCompat library from API 19 to API 21 I lost ActionBar. I have tried changing themes around but I can't find a way to get ActionBar.

The full source code is available [here](https://github.com/donniezazen/The-Big-Nerd-Ranch-Guide/tree/master/CriminalIntent2).

**AndroidManifest.xml**

```
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.sudhirkhanger.app.criminalintent" >

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity android:name=".CrimeListActivity" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".CrimePagerActivity"
            android:label="@string/app_name" >
        </activity>
    </application>

</manifest>

```

**style.xml**

```
<resources>

    <!-- Base application theme. -->
    <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->
    </style>

</resources>

```

Thanks.

Answer: 
To use `appcompat-v7`, you *must* inherit from `ActionBarActivity`. `CrimeListActivity` inherits from `SingleFragmentActivity`, which in turn inherits from `FragmentActivity`, not `ActionBarActivity`.
I came across this issue as well.

The solution is remove the style tag from the `manifest.xml` (`android:theme="@style/AppTheme"`).

It will use the holo theme, but with the Action Bar.