All Products
Search
Document Center

Mobile Testing:NoClassDefFoundError

Last Updated:Feb 28, 2022

Problem description

The app compilation is successful, but the classes to be uploaded cannot be found due to issues such as packaging problems. Therefore, this exception occurs during runtime.

Solution

If Eclipse ADT 17 is used, delete all dependencies except Android X.X.X and Android Dependency in the Java build path, rename the Lib folder to Libs, and then clean the Android project.

References

http://stackoverflow.com/questions/9870995/android-java-lang-noclassdeffounderror