title: Android. ActionBarSherlock.
body: <p>Try to begin with ActionBarSherlock.
  Download library.
  Set ADT with last updates, SDK the same.</p>
  
  <p>Try to make simple activity:</p>
  
  <pre><code>import com.actionbarsherlock.app.SherlockActivity;
  import android.os.Bundle;
  
  public class MainActivity extends SherlockActivity {
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  }
  </code></pre>
  
  <p>The manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="ru.alxr.usingsherlocksample"
  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/Sherlock.__Theme" &gt;
      &lt;activity
          android:name="ru.alxr.usingsherlocksample.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>
  
  <p>ADT does not let to set android:theme="@style/Sherlock" with red x.</p>
  
  <p>So, I got expexcted error in logcat:</p>
  
  <pre><code>03-23 21:25:54.437: E/AndroidRuntime(13145): FATAL EXCEPTION: main
  03-23 21:25:54.437: E/AndroidRuntime(13145): java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.alxr.usingsherlocksample/ru.alxr.usingsherlocksample.MainActivity}: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1651)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.ActivityThread.access$1500(ActivityThread.java:117)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.os.Handler.dispatchMessage(Handler.java:99)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.os.Looper.loop(Looper.java:130)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.ActivityThread.main(ActivityThread.java:3687)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at java.lang.reflect.Method.invokeNative(Native Method)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at java.lang.reflect.Method.invoke(Method.java:507)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at dalvik.system.NativeStart.main(Native Method)
  03-23 21:25:54.437: E/AndroidRuntime(13145): Caused by: java.lang.IllegalStateException: You must use Theme.Sherlock, Theme.Sherlock.Light, Theme.Sherlock.Light.DarkActionBar, or a derivative.
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at com.actionbarsherlock.internal.ActionBarSherlockCompat.generateLayout(ActionBarSherlockCompat.java:1003)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at com.actionbarsherlock.internal.ActionBarSherlockCompat.installDecor(ActionBarSherlockCompat.java:915)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at com.actionbarsherlock.internal.ActionBarSherlockCompat.setContentView(ActionBarSherlockCompat.java:849)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at com.actionbarsherlock.app.SherlockActivity.setContentView(SherlockActivity.java:229)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at ru.alxr.usingsherlocksample.MainActivity.onCreate(MainActivity.java:13)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
  03-23 21:25:54.437: E/AndroidRuntime(13145):    ... 11 more
  </code></pre>
  
  <p>What to do?</p>