Last active
August 29, 2020 07:59
-
-
Save igorwojda/ac461fb41ffed579fbf5584c5c0a94f4 to your computer and use it in GitHub Desktop.
Configure apk split
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
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, armeabi-v7a, and mips. | |
reset() | |
// Specifies a list of ABIs that Gradle should create APKs for. | |
include "x86", "x86_64", "armeabi-v7a", "arm64-v8a" | |
// Specifies that we want to also generate a universal APK that includes all ABIs. | |
universalApk true | |
} | |
} | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment