Encountered an error while using the Android-universal-image-loader jar package for the asynchronous loading framework:
java.lang.NoClassDefFoundError:com.nostra13.universalimageloader.core.imageloaderconfiguration$ The builder later discovered that this was not related to the framework through careful research because
Your ADT upgrade to 22 out of the question, ADT22 more reasonable than ADT21. After the version number of the adt17. To import a third-party jar package, to create a Libs folder, you can not use the Lib naming, ADT will voluntarily rely on the jar, do not manually add
Add it.
References Link: http://blog.csdn.net/huzgd/article/details/7604069
Note: If you have add yourself, you can configure the build path to delete the package you imported.
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
Analyze the difference between ADT22 and ADT21:
ADT21 Chart:
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
ADT22 Chart:
Steps to resolve:
1. First of all, deal with the above questions
2.adt22 need to tick Android Private libraries and Android Dependencies to let developers decide which packages to export to the APK. For example, the program is for a high-version Android system. Can choose not to need
Export some support packages for the lower version number (for example: V4, V7, etc.)
Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /center ">
3.libs inside the jar package also should be noted, because ADT17 after the self-initiated import. So do not put the system has a package to this folder, can see the console (console) whether the same package, fake set up to delete
4. Compile (Project--clean)
Description: There may be some steps you do not need, I may consider more here
Android upgrade ADT to 22 third party jar package caused by ClassNotFoundException and Noclassdeffounderror exception resolution