In Eclipse, import Android project, project no error, run, the Java.lang.NoClassDefFoundError class did not find errors. As you can see from the problem, the cause of the import package error. Hence Baidu plus Google.
The problem is: Reasons for the high version of ADT
The introduction of the third-party package in the referenced libraries, ADT upgraded to 17 after the emergence of Android Dependencies, so if the program introduced in the third-party package is not in the Android Dependencies, You will be quoted the wrong at the beginning of the article.
Workaround:
Remove the package from the previous referenced libraries, rename the Lib to Libs, and then copy the package back into the Libs, and the general Android dependencies will automatically appear and the problem will be resolved. However, some projects do not appear automatically, it is necessary to make a step of modification. (does not automatically generate the solution for Android dependencies)
Steps to resolve:
1) Rename Lib to Libs:
2) Remove the original imported package
3) See if third-party packages are automatically generated
Article reprinted from: http://blog.csdn.net/encienqi/article/details/7834900
Go Java.lang.NoClassDefFoundError error resolution for Android engineering