Disable language splits to avoid issues with language selector on Android App Bundle builds

This commit is contained in:
artdeell 2021-07-16 18:07:49 +03:00
parent 42dc8d5178
commit 107435ba8b
2 changed files with 8 additions and 2 deletions

View File

@ -51,7 +51,7 @@ android {
applicationId "net.kdt.pojavlaunch" applicationId "net.kdt.pojavlaunch"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
versionCode 156249 versionCode 156253
versionName getVersionName() versionName getVersionName()
multiDexEnabled true //important multiDexEnabled true //important
} }
@ -84,6 +84,11 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8 sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8
} }
bundle {
language {
enableSplit = false
}
}
buildToolsVersion '30.0.2' buildToolsVersion '30.0.2'
} }

View File

@ -1,3 +1,4 @@
android.enableJetifier=true android.enableJetifier=true
android.useAndroidX=true android.useAndroidX=true
android.bundle.enableUncompressedNativeLibs=false android.bundle.enableUncompressedNativeLibs=false
android.bundle.language.enableSplit=false