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...
}
}
Can someone tell me why is this error caused?
ReplyDeleteIt worked perfectly, thank you!
ReplyDeleteOil dey your head...
ReplyDeleteIt worked...
Thank you so much....my God bless you...Amen