Android App Crashes After Sdk-Tools Update Version (Noclassdeffound, Tool Version 22)

Android app crashes after SDK-tools update version (NoClassDefFound, tool version 22)

I fixed it by going into Java Build Path > Order and Export tab.

Click everything in the list "Android Private Libraries".

Then "Project -> Clean". That fixed my issue.

Just over 1.5 days on this issue, solved my problem by reading Google+.

Android app crashes after SDK-tools update (NoClassDefFound, google analytics)

Ok, I found the solution

In the project properties (eclipse) -> java build path -> order and export
make sure that all your jars in the libs folder are checked.

Class not found error after updating ADT and Android sdk tools to latest ver 22

Problem occurs for me with projects which use Support library.

This thread helped me a lot to resolve ClassNotFoundException issue with ADT 22:

https://code.google.com/p/android/issues/detail?id=55304

The idea is to enable Android Private Libraries on Java Buils Path | Order and Export

Nikolay's workaround works for me:
For all projects (app and library):

  1. Right click the project, and choose Properties
  2. Go to Java Build Path-Order and Export.
  3. Tick 'Android Private Libraries'
  4. (Optional) Clean all projects if necessary

Thanks, Nikolay.

java.lang.NoClassDefFoundError: GCMIntentService

Just adding to @athor's answer, as you said that you updated everything. Its a high possibility that you updated android SDK-tools to latest version 22. This is a known issue and this has been discussed many times. You might want to check out following threads and picture.

Android app crashes after SDK-tools update version (NoClassDefFound, tool version 22)

ERROR : java.lang.NoClassDefFoundError: android.support.v4.content.LocalBroadcastManager

The picture and thread will help to find the exact location where to make changes.
Hope this helps.

ERROR : java.lang.NoClassDefFoundError: android.support.v4.content.LocalBroadcastManager

Did you mark the checkboxes for required libraries in order and export tab

look at this Post



Related Topics



Leave a reply



Submit