put this in your gradle configuration
multiDexEnabled true
Enable multiDex inside defaultConfig, or in specific build
defaultConfig {
...
multiDexEnabled true
}
And add the following dependency if you are using androidx
dependencies {
def multidex_version = "2.0.1"
implementation 'androidx.multidex:multidex:$multidex_version'}
Or the following support library if you are not using androidx
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}
The detailed information and reference given in the following documentation
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.