diff --git a/app/build.gradle b/app/build.gradle index 20fbd587..7be4aee0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -18,6 +18,31 @@ android { coreLibraryDesugaringEnabled true } + splits { + + // Configures multiple APKs based on ABI. + abi { + + // Enables building multiple APKs per ABI. + enable true + + // By default all ABIs are included, so use reset() and include to specify that we only + // want APKs for "x86", "x86_64", "arm64-v8a" and "armeabi-v7a". + + // Resets the list of ABIs for Gradle to create APKs for to none. + reset() + + // Specifies a list of ABIs for Gradle to create APKs for. + include "x86", "x86_64", "arm64-v8a", "armeabi-v7a" + + // Specifies that we don't want to also generate a universal APK that includes all ABIs. + universalApk false + } + + } + + + androidResources { generateLocaleConfig true }