Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7621421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:11:27+00:00 2026-05-31T04:11:27+00:00

I am getting an error with the new version of SherlockActionBar. When I was

  • 0

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.

Here is the offending 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);

Here is the logcat output:

    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}

The full code can be found here: https://github.com/kopysoft/Chronos/blob/6ff2692042ca542f67984fda2759744f4746b788/ChronosApp/src/com/kopysoft/chronos/activities/ClockActivity.java

Thanks for all the help!

Edit 1
Updated reference the a static entry in git vs the most up to-date-one.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:11:28+00:00Added an answer on May 31, 2026 at 4:11 am

    That exception usually means that you’re missing a JAR in your CLASSPATH. The fact that it runs in one context might be lulling you to sleep, thinking that you’re doing everything correctly, but you’ll get to a solution faster if you believe what the compiler is telling you.

    Find the JAR that houses that class and figure out how to get it into the CLASSPATH. Repeat until the errors go away.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Anyone getting this error when using the new free chart controls MS bought from
I just wrote a new web part and now I am getting this error
I recently migrated to new version of protobuf-net, and i started getting this error
I'm getting an an error when trying to upload a new version of my
hi im new to c# and was trying to code but getting error can
Checkbox[,] checkArray = new Checkbox[2, 3]{{checkbox24,checkboxPref1,null}, {checkbox23,checkboxPref2,null}}; I am getting error . How do
I'm getting a 403 error on my new rails testing page: removed.com:8080. I installed
I'm getting this error message on all projects (including brand new empty templates) I'm
I am new to php and I am getting this error trying to load
I'm new to AS3 and I'm getting this error while trying to implement OO

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.