Multidexkeepfile Ignored / Not Working
My application is a custom class that extends MultiDexApplication. public class CustomApp extends MultiDexApplication { @Override public void onCreate() { super.onC
Solution 1:
I once facing with the same problems eventhough had adding the multidex. The problem arise whenever apk is running in Android 4.4 Xiaomi (If I remember it correctly). To solution is using MultiDex.install()
in app like this:
publicclassCustomAppextendsApplication {
@OverrideprotectedvoidattachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}
Then adding the jumboMode true
in modulebuild.gradle
:
android {
...
dexOptions {
jumboMode = true
}
}
Post a Comment for "Multidexkeepfile Ignored / Not Working"