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 @   terryc  阅读(2362)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示