在Android 4.4.2 API 19中一直报错,在 5.0以上没问题
defaultConfig 外 android里添加
multiDexEnabled true
dependencies中添加
compile 'com.android.support:multidex:1.0.1'
onCreate中,一写要在super.onCreate();前面
MultiDex.install(this);
在Android 4.4.2 API 19中一直报错,在 5.0以上没问题
defaultConfig 外 android里添加
multiDexEnabled true
dependencies中添加
compile 'com.android.support:multidex:1.0.1'
onCreate中,一写要在super.onCreate();前面
MultiDex.install(this);