I want to release appBundle with 'flutter build appbundle' but I have this error. This project has already been migrated to AndroidX. There are not used third-party libraries
compileSdkVersion: 28
targetSdkVersion: 28
minSdkVersion: 16
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
dependencies {
implementation 'com.android.support:support-fragment:28.0.0'
}
}
}
dependencies:
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
in gradle.properties
android.useAndroidX=true
android.enableJetifier=true