Skip to content

Commit

Permalink
Merge pull request #405 from canterberry/x64
Browse files Browse the repository at this point in the history
📦 Add 64-bit support to Android builds (v2.0.1)
  • Loading branch information
canterberry authored Jul 29, 2019
2 parents 0e003d3 + a51aa2a commit 105bf39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ android {
applicationId "com.lndr"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 39
versionName "2.0.0"
versionCode 40
versionName "2.0.1"
ndk {
abiFilters "armeabi-v7a", "x86"
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
}
}
signingConfigs {
Expand Down Expand Up @@ -132,7 +132,7 @@ android {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
include "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
}
}
buildTypes {
Expand All @@ -153,7 +153,7 @@ android {
variant.outputs.each { output ->
// For each separate APK per architecture, set a unique version code as described here:
// http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
def versionCodes = ["armeabi-v7a":1, "x86":2]
def versionCodes = ["armeabi-v7a": 1, "arm64-v8a": 2, "x86": 3, "x86_64": 4]
def abi = output.getFilter(OutputFile.ABI)
if (abi != null) { // null for the universal-debug, universal-release variants
output.versionCodeOverride =
Expand Down

0 comments on commit 105bf39

Please sign in to comment.