Today updated the Universal-image-loader-1.9.5.jar file, Studio can not find the related class, the internet Baidu tried a lot of ways, finally solved, the specific method with a foreigner post of similar, here to share under.
Steps to resolve:
Something went wrong in incremental build system. One of this should help:
- Menu Build, Rebuild project
- Delete Folder/build
- Close Android Studio, Delete/build folder
- Right click on your project, Open module settings, Dependencies tab, check if Export is checked for your Library
From the foreigner's post Http://stackoverflow.com/questions/17724642/android-studio-java-lang-noclassdeffounderror
Reference article: http://www.oschina.net/question/2263525_180149
This problem often occurs when Build.gradle is configured as follows:
Compile Filetree (dir: ' Libs ', include: [' *.jar '])
If it is not solved, in the build.gradle with such as the following reference, studio may sometimes find the jar package, plus the following code will be able to cheat studio, Bulid success after the deletion is good.
Compile files (' Libs/umeng_social_sdk.jar ')
The Android Studio pilot jar package could not find a workaround for the class