There is an Android app big project, referencing a lot of class libraries, has been running well, today I upgraded the Eclipse ADT plugin to the latest version (V22), while also upgrading SDL. In the entire
The upgrade process is good, no problem, when I reached the APK on the phone run, error noclassdeffounderror
Java.lang.NoClassDefFoundError:org.acra.ACRA
....
The ARCA library is included in the Lib library, I can see in the Android Private Libraries, and compile errors. The other person does not upgrade the ADT computer and works well.
I've tried a whole bunch of things, including but not limited to:
1. Reinstall the Android SDK
2. Download a new ADT Package
3. Delete all my code and recompile
4. Application Projects for replication libraries
5. Comment out the code used in this library
Call for help ....
An ADT for Android Eclipse
Processing methods
When upgrading, the new "Android Private Libraries" Order and Export is not a required item. , Android-support-v4.jar is already in the ' Android Private Libraries '
To resolve this issue, go to ' Order and Export ' and tick ' Android Private Libraries '. Then Refresh/clean/rebuild.
When you do the ' Fix ' Library project, you may need to just close and reopen the project
Original address: http://www.itmmd.com/201410/76.html
This article by Meng Meng's IT person to organize the release, reprint must indicate the source.
When Android ADT is upgraded to version 22, it is no longer possible to add jars to the Lib library.