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):
- Right click the project, and choose Properties
- Go to Java Build Path-Order and Export.
- Tick 'Android Private Libraries'
- (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
Problems Importing Project into Android Studio Regarding Actionbarsherlock
PDF Library to Rendering the PDF Files in Android
Upgrade SQLite Database from One Version to Another
Theme.Appcompat.Light.Darkactionbar - No Resource Found
Eclipse with Android Sdk, Error: Java Heap Space
How Run Cookbook with Dependencies in Chef
How to Install Various Python Libraries in Jython
How to Increase the Number of Displayed Lines of a Java Stack Trace Dump
Using Httpclient and Httppost in Android with Post Parameters
Google Cloud Messaging - Messages Either Received Instantly or with Long Delay
What's the Best Practice to Round a Float to 2 Decimals
Enabling Specific Ssl Protocols with Android Webviewclient
Boot_Completed Not Working on Android 10 Q API Level 29
Android:Table Has No Column Named "Variable Name" MySQL Database Error
How to Get from Jruby a Correctly Typed Ruby Implementation of a Java Interface