Skip to content

Instantly share code, notes, and snippets.

@pratheepchowdhary
Created May 13, 2018 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pratheepchowdhary/b4ed7485b3024860a6a8c4275c0397ec to your computer and use it in GitHub Desktop.
Save pratheepchowdhary/b4ed7485b3024860a6a8c4275c0397ec to your computer and use it in GitHub Desktop.
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_64', 'x86', 'armeabi', '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