xxxxxxxxxx
How to enable multidex for flutter project.
1. Open [project_folder]/app/build.gradle and add following lines.
defaultConfig {
multiDexEnabled true
}
and
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}
2. Enable Jetifier. Open [project_folder]/android/app/gradle.properties and add
following lines.
android.useAndroidX=true
android.enableJetifier=true
https://stackoverflow.com/questions/49886597/multidex-issue-with-flutter/60158352
xxxxxxxxxx
//[project_folder]android/app/build.gradle
defaultConfig {
multiDexEnabled true
}
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}