title: Error implementing Support Library Action Bar
body: <p>I'm trying to implement the new v7 Support Library <code>ActionBar</code>. However, I can't get it to run properly.</p>
  
  <p>Here's the exception</p>
  
  <pre><code>07-25 09:30:01.704: E/AndroidRuntime(9175): FATAL EXCEPTION: main
  07-25 09:30:01.704: E/AndroidRuntime(9175): java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$styleable
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:98)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.support.v7.app.ActionBarActivityDelegateICS.onCreate(ActionBarActivityDelegateICS.java:58)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:98)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at com.cidaut.termoweb.MainActivity.onCreate(MainActivity.java:23)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.Activity.performCreate(Activity.java:5133)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.ActivityThread.access$600(ActivityThread.java:141)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.os.Handler.dispatchMessage(Handler.java:99)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.os.Looper.loop(Looper.java:137)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at android.app.ActivityThread.main(ActivityThread.java:5103)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at java.lang.reflect.Method.invokeNative(Native Method)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at java.lang.reflect.Method.invoke(Method.java:525)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
  07-25 09:30:01.704: E/AndroidRuntime(9175):     at dalvik.system.NativeStart.main(Native Method)
  </code></pre>
  
  <p>The problem happens at the <code>super.onCreate(bundle)</code> call at <code>onCreate()</code>.</p>
  
  <p>Here's all my theming related XML:</p>
  
  <p>styled.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;resources&gt;
      &lt;style name="Theme.Termoweb" parent="@style/Theme.AppCompat.Light.DarkActionBar"&gt;
          &lt;item name="actionBarItemBackground"&gt;@drawable/selectable_background_termoweb&lt;/item&gt;
          &lt;item name="popupMenuStyle"&gt;@style/PopupMenu.Termoweb&lt;/item&gt;
          &lt;item name="dropDownListViewStyle"&gt;@style/DropDownListView.Termoweb&lt;/item&gt;
          &lt;item name="actionBarTabStyle"&gt;@style/ActionBarTabStyle.Termoweb&lt;/item&gt;
          &lt;item name="actionDropDownStyle"&gt;@style/DropDownNav.Termoweb&lt;/item&gt;
          &lt;item name="actionBarStyle"&gt;@style/ActionBar.Solid.Termoweb&lt;/item&gt;
          &lt;item name="actionModeBackground"&gt;@drawable/cab_background_top_termoweb&lt;/item&gt;
          &lt;item name="actionModeSplitBackground"&gt;@drawable/cab_background_bottom_termoweb&lt;/item&gt;
          &lt;item name="actionModeCloseButtonStyle"&gt;@style/ActionButton.CloseMode.Termoweb&lt;/item&gt;
          &lt;!-- Light.DarkActionBar specific --&gt;
          &lt;item name="actionBarWidgetTheme"&gt;@style/Theme.Termoweb.Widget&lt;/item&gt;
      &lt;/style&gt;
  
  
  
      &lt;style name="ActionBar.Solid.Termoweb" parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse"&gt;
          &lt;item name="background"&gt;@drawable/ab_solid_termoweb&lt;/item&gt;
          &lt;item name="backgroundStacked"&gt;@drawable/ab_stacked_solid_termoweb&lt;/item&gt;
          &lt;item name="backgroundSplit"&gt;@drawable/ab_bottom_solid_termoweb&lt;/item&gt;
          &lt;item name="progressBarStyle"&gt;@style/ProgressBar.Termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="ActionBar.Transparent.Termoweb" parent="@style/Widget.AppCompat.ActionBar"&gt;
          &lt;item name="background"&gt;@drawable/ab_transparent_termoweb&lt;/item&gt;
          &lt;item name="progressBarStyle"&gt;@style/ProgressBar.Termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="PopupMenu.Termoweb" parent="@style/Widget.AppCompat.ListView.Menu"&gt;
          &lt;item name="popupBackground"&gt;@drawable/menu_dropdown_panel_termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="DropDownListView.Termoweb" parent="@style/Widget.AppCompat.ListView.DropDown"&gt;
          &lt;item name="listSelector"&gt;@drawable/selectable_background_termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="ActionBarTabStyle.Termoweb" parent="@style/Widget.AppCompat.ActionBar.TabView"&gt;
          &lt;item name="background"&gt;@drawable/tab_indicator_ab_termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="DropDownNav.Termoweb" parent="@style/Widget.AppCompat.Spinner"&gt;
          &lt;item name="background"&gt;@drawable/spinner_background_ab_termoweb&lt;/item&gt;
          &lt;item name="popupBackground"&gt;@drawable/menu_dropdown_panel_termoweb&lt;/item&gt;
          &lt;item name="dropDownSelector"&gt;@drawable/selectable_background_termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="ProgressBar.Termoweb" parent="@style/Widget.AppCompat.ProgressBar.Horizontal"&gt;
          &lt;item name="progressDrawable"&gt;@drawable/progress_horizontal_termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;style name="ActionButton.CloseMode.Termoweb" parent="@style/Widget.AppCompat.ActionButton.CloseMode"&gt;
          &lt;item name="background"&gt;@drawable/btn_cab_done_termoweb&lt;/item&gt;
      &lt;/style&gt;
  
  
      &lt;!-- this style is only referenced in a Light.DarkActionBar based theme --&gt;
      &lt;style name="Theme.Termoweb.Widget" parent="@style/Theme.AppCompat"&gt;
          &lt;item name="popupMenuStyle"&gt;@style/PopupMenu.Termoweb&lt;/item&gt;
          &lt;item name="dropDownListViewStyle"&gt;@style/DropDownListView.Termoweb&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>AndroidManifest.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.cidaut.termoweb"
      android:versionCode="1"
      android:versionName="1.0" &gt;
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="17" /&gt;
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/Theme.Termoweb" &gt;
          &lt;activity
              android:name="com.cidaut.termoweb.MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>