NoClassDefFoundException 解决办法

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

 

I have found out a solution for NoClassDefFoundException in Android studio. I have added this in my Manifest XML

<application
    android:name="android.support.multidex.MultiDexApplication"
    ............
</application>

Add multiDexEnabled true in defaultConfig

defaultConfig {
    .......
    multiDexEnabled true
}

it is working now and nothing changed in my source code. Thanks for all.

posted @ 2015-12-17 12:12  terryc  阅读(2361)  评论(0编辑  收藏  举报