build: Fix abiFilter

This commit is contained in:
FearlessTobi 2020-04-03 00:03:58 +02:00 committed by bunnei
parent 7e3f314a19
commit f6044b6ba2

View File

@ -7,6 +7,7 @@ apply plugin: 'com.android.application'
*/ */
def autoVersion = (int) (((new Date().getTime() / 1000) - 1451606400) / 10) def autoVersion = (int) (((new Date().getTime() / 1000) - 1451606400) / 10)
def buildType def buildType
def abiFilter = "arm64-v8a" //, "x86"
android { android {
compileSdkVersion 29 compileSdkVersion 29
@ -32,6 +33,7 @@ android {
minSdkVersion 26 minSdkVersion 26
targetSdkVersion 28 targetSdkVersion 28
versionCode autoVersion versionCode autoVersion
ndk.abiFilters abiFilter
} }
signingConfigs { signingConfigs {
@ -94,7 +96,7 @@ android {
"-DENABLE_WEB_SERVICE=0", // Don't use telemetry "-DENABLE_WEB_SERVICE=0", // Don't use telemetry
"-DANDROID_ARM_NEON=true" // cryptopp requires Neon to work "-DANDROID_ARM_NEON=true" // cryptopp requires Neon to work
abiFilters "arm64-v8a" //, "x86" abiFilters abiFilter
} }
} }
} }