Fabric/Crashlytics NoClassDefFoundError only on certain devices

前端 未结 6 1229
醉酒成梦
醉酒成梦 2020-12-20 16:04

I\'m seeing a crash in Google Play related to Fabric/Crashlytics. This happened after I updated from normal Crashlytics to the new Fabric Crashlytics. I can only reproduce i

6条回答
  •  醉酒成梦
    2020-12-20 16:42

    please build this: compile 'com.android.support:multidex:1.0.1'

    and add this method in your application class :

               protected void attachBaseContext(Context base) {
                   super.attachBaseContext(base);
                   MultiDex.install(this);
                }
    

提交回复
热议问题