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 7691095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:32:42+00:00 2026-05-31T20:32:42+00:00

I have updated my android-sdk-package from r16 to r17. I have updated the Eclipse

  • 0

I have updated my android-sdk-package from r16 to r17. I have updated the Eclipse ADT-Plugin too.
My project worked perfectly fine with r16 (android-sdk r16 and Eclipse ADT Plugin v16), but now the app does not start:
The Classloader can not find the MainActivity. The MainActivity is the first activity, that starts (it is properly declared in the AndroidManifest).

03-22 15:07:28.984: E/AndroidRuntime(22106): Caused by: java.lang.ClassNotFoundException: my.....MainActivity
03-22 15:07:28.984: E/AndroidRuntime(22106):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
03-22 15:07:28.984: E/AndroidRuntime(22106):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
03-22 15:07:28.984: E/AndroidRuntime(22106):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
03-22 15:07:28.984: E/AndroidRuntime(22106):    at android.app.Instrumentation.newActivity(Instrumentation.java:1023)
03-22 15:07:28.984: E/AndroidRuntime(22106):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871) 

The package name is 100% right. I even checked out a tagged version of my project (I have release the project and I always tag my versions) and tryed it: same result.
What I have already tried (I use Arch Linux):
– delete android-sdk + android-sdk-platform-tools (and reinstall them)
– delete the entire android-folder (/opt/android-sdk) and reinstall the packages, download the target platform
– delete ~/.android
– delete ~/.eclipse
– reinstall Eclipse ADT-Plugin
– recreate Virtual Devices
– create a new project (the new project works)
– unpack the .apk-file and view the compiled classes with dexdump: the apk-file contains the MainActivity
– I read the Android-SDK-Release-Notes for something related, but I didn’t find anything
– And of course, rebuild the project (clean + build, I even manually deleted the bin-folder)

The only thing that really worked was to switch on my notebook (still android-sdk r16).
So… what am I doing wrong? It’s probably something simple…

Thanks!

  • 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-31T20:32:43+00:00Added an answer on May 31, 2026 at 8:32 pm

    As has been reported here and elsewhere, you need to ensure that any third-party JARs you are using live in libs/, both in your project and in any dependent library projects. Try that and see if it helps.

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

Sidebar

Related Questions

I have updated my packages using Android SDK Manager and clicked on Help >
I have a problem. When I updated Android SDK tool to version 17 and
I have a big big problem. Yesterday I updated the Android SDK and, since
Android 2.1 update 1 Eclipse 3.5 I have a problem reading data from my
I have recently updated my Android SDK to include support for Android 2.2 (API
I'm starting android development from just three days, I have downloaded the SDK and
I just updated my Android SDK/etc (Eclipse IDE) and, while there seems to be
I started android developmental by installing android sdk and eclipse and then ADT plug
I have updated my Android SDK to Revision 16 but I can't seem to
I had eclipse installed and working perfectly with Android SDK. Everything was working fine.

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.