title: Android exception: You need to use a Theme.AppCompat theme with this activity
body: <p>In order to use the support action bar, my activity has to extend ActionBarActivity, and when I do that and start the activity, the application crashes with:</p>
  
  <blockquote>
    <p>Exception: You need to use a Theme.AppCompat theme (or descendant) with this activity.</p>
  </blockquote>
  
  <p>In my styles.xml I have</p>
  
  <pre><code>&lt;style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light"&gt;&lt;/style&gt;
  </code></pre>
  
  <p>And in my AndroidManifest.xml for the offending activity I have</p>
  
  <pre><code>&lt;activity android:name="com.example.test3.SettingsActivity"
            android:theme="@style/AppBaseTheme" /&gt;
  </code></pre>