i recently upgraded android studio but im not able to find the source of the following issue reported in android studio 3.1:
Warning: The rule `-keep public clas
I got same issue because of "multiDexEnabled true" setting in gradle defaultConfig.
I resolved this issue by adding multidex dependency "implementation 'com.android.support:multidex:1.0.3'"
android {
defaultConfig {
...
multiDexEnabled true
}
...
}
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}
Reference : https://developer.android.com/studio/build/multidex