After android adt is upgraded to version 22, you cannot add the jar to the lib library. androidadt
At present, there is a large android app project that has referenced many class libraries and has been running well. Today I upgraded the Eclipse ADT plug-in to the latest version (v22) and upgraded the sdl. In the entire
The upgrade process was good and there was no problem. When I reached the apk running on my mobile phone, the error "NoClassDefFoundError" was reported.
Java. lang. NoClassDefFoundError: org. acra. ACRA
....
This ARCA library contains a pound of information in the lib library. I can see it in Android Private Libraries and see the compilation error. The adt has not been upgraded and runs well.
I have tried a lot of things, including but not limited:
1. reinstall the Android SDK
2. Download a new ADT package
3. Delete all my codes and recompile them.
4. Application projects related to the replication Library
5. comment out the code in this library.
Asking for help ....
Android Eclipse ADT
Solution
During the upgrade, the Order and Export of the new "Android Private Libraries" is not a required item ., Android-support-v4.jar is already in 'android Private libraries'
To solve this problem, go to 'Order and export' and check 'android Private libraries '. Then refresh/clean/rebuild.
When you do this to 'fix' the library project, you may need to just close and re-open the project
Address: http://www.itmmd.com/201410/76.html
This article is organized and published by Meng IT personnel. The reprinted article must indicate the source.