From cfe837906f4d6794c9ab5a2f27495efe12295fc9 Mon Sep 17 00:00:00 2001 From: Dave Long <5268997+davehlong@users.noreply.github.com> Date: Thu, 11 Jul 2019 10:12:00 +0200 Subject: [PATCH] Enable 64 bit ndk builds --- android/app/build.gradle | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 26dea18..59bf407 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -115,7 +115,7 @@ android { versionName "v0.1.1" missingDimensionStrategy 'react-native-camera', 'general' ndk { - abiFilters "armeabi-v7a", "x86" + abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64" moduleName "TurtleCoin_jni" ldLibs "log" stl "stlport_static" diff --git a/package.json b/package.json index d3c4f2c..73a7a57 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "start": "./node_modules/.bin/jetify; react-native bundle --platform android --dev true --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res; ./node_modules/.bin/react-native run-android", "start-release": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res; ./node_modules/.bin/react-native run-android", - "build-android": "sudo adb kill-server; sudo adb start-server; cd android; ./gradlew assembleRelease; cd ..", + "build-android": "rm -r android/app/src/main/res/drawable-*; sudo adb kill-server; sudo adb start-server; cd android; ./gradlew assembleRelease; cd ..", "deploy-android": "sudo adb kill-server; sudo adb start-server; cd android; ./gradlew assembleRelease && ./gradlew installRelease; cd ..", "postinstall": "./node_modules/.bin/rn-nodeify --install fs,dgram,process,path,console,crypto,buffer,stream,vm,http,https,url,zlib,net,assert,tls --hack --yarn; ./node_modules/.bin/react-native link; ./node_modules/.bin/jetify" },