The solution to this is to enable multi dex support in the Android app. The following steps show how to do this:
- In Android Studio, add in a new dependency to the androidx.multidex:multidex library to the app's build.gradle file.
dependencies {
...etc...
implementation 'androidx.multidex:multidex:2.0.1
...etc...
} - Then in the same app build.gradle file, toggle true the multiDexEnabled property.
android {
defaultConfig {
...etc...
multiDexEnabled true
...etc...
}
}
3 comments:
Can someone tell me why is this error caused?
It worked perfectly, thank you!
Oil dey your head...
It worked...
Thank you so much....my God bless you...Amen
Post a Comment