One of my test phone does not able to install app with ADB when the application class is extending MultiDex application.
I attempted implement this on build.gradle with my app application class extending MultiDexApplication but cannot compile.
buildTypes {
release {
multiDexEnabled false
}
debug {
multiDexEnabled true
}
}
References: 1. https://developer.android.com/studio/build/multidex.html 2. Can I enable multidex in Android debug build only? 3. Conditionally inherit from class