Skip to content

Instantly share code, notes, and snippets.

@raviyadav5951
Last active December 25, 2019 08:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save raviyadav5951/b21eb1689890d72c238582d071be22f3 to your computer and use it in GitHub Desktop.
Split apks
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 armeabi-v7a and arm64-v8a.
// Resets the list of ABIs that Gradle should create APKs for to none.
reset()
// Specifies a list of ABIs that Gradle should create APKs for.
include "armeabi-v7a", "arm64-v8a"
// Specifies that we do not want to also generate a universal APK that includes all ABIs.
universalApk false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment