title: NoClassDefFoundError: com.actionbarsherlock.app.SherlockFragmentActivity Release 4
body: <p>I am getting an error with the new version of SherlockActionBar. When I was running from the snapshot there was no problem. Updated to 4.0, it now throws a NoClassDefFoundError. I am compiling against Android 4.0, pulling the library down from the maven repo.</p>
  
  <p>Here is the offending code:</p>
  
  <pre><code>getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
  ActionBar.Tab tab = getSupportActionBar().newTab();
  tab.setText("Today");
  tab.setTabListener(this);
  tab.setCustomView(new DatePairView(this, new DateTime()));
  getSupportActionBar().addTab(tab);
  </code></pre>
  
  <p>Here is the logcat output:</p>
  
  <pre><code>    03-08 20:35:05.633: ERROR/AndroidRuntime(10976): FATAL EXCEPTION: main
          java.lang.NoClassDefFoundError: com.actionbarsherlock.app.SherlockFragmentActivity
          at com.actionbarsherlock.internal.app.ActionBarImpl.selectTab(ActionBarImpl.java:509)
          at com.actionbarsherlock.internal.app.ActionBarImpl.addTab(ActionBarImpl.java:452)
          at com.actionbarsherlock.internal.app.ActionBarImpl.addTab(ActionBarImpl.java:438)
          at com.kopysoft.chronos.activities.ClockActivity.onCreate(ClockActivity.java:88)
          at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
          at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
          at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
          at android.app.ActivityThread.access$1500(ActivityThread.java:117)
          at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
          at android.os.Handler.dispatchMessage(Handler.java:99)
          at android.os.Looper.loop(Looper.java:130)
          at android.app.ActivityThread.main(ActivityThread.java:3683)
          at java.lang.reflect.Method.invokeNative(Native Method)
          at java.lang.reflect.Method.invoke(Method.java:507)
          at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
          at dalvik.system.NativeStart.main(Native Method)
  03-08 20:35:05.633: WARN/ActivityManager(96): Force finishing activity com.kopysoft.chronos/.activities.ClockActivity
  03-08 20:35:06.133: WARN/ActivityManager(96): Activity pause timeout for HistoryRecord{407fef58 com.kopysoft.chronos/.activities.ClockActivity}
  03-08 20:35:16.303: WARN/ActivityManager(96): Activity destroy timeout for HistoryRecord{407fef58 com.kopysoft.chronos/.activities.ClockActivity}
  </code></pre>
  
  <p>The full code can be found here: <a href="https://github.com/kopysoft/Chronos/blob/6ff2692042ca542f67984fda2759744f4746b788/ChronosApp/src/com/kopysoft/chronos/activities/ClockActivity.java" rel="nofollow">https://github.com/kopysoft/Chronos/blob/6ff2692042ca542f67984fda2759744f4746b788/ChronosApp/src/com/kopysoft/chronos/activities/ClockActivity.java</a></p>
  
  <p>Thanks for all the help!</p>
  
  <p><strong>Edit 1</strong>
  Updated reference the a static entry in git vs the most up to-date-one.</p>