- Go to
<project>/app/
and openbuild.gradle
file - Add the following line to the
defaultConfig
anddependencies
sections
android {
...
defaultConfig {
...
multiDexEnabled true // ADD THIS LINE
}
}
...
dependencies {
...
implementation 'com.android.support:multidex:1.0.3' // ADD THIS LINE
}