diff --git a/.gitignore b/.gitignore index 49142f4..faa3b5a 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ release/ .gradle local.properties *.iml +*.hprof # node.js # diff --git a/android/app/build.gradle b/android/app/build.gradle index 0cfb184..b7acb08 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -122,6 +122,11 @@ def jscFlavor = 'org.webkit:android-jsc:+' */ def enableHermes = project.ext.react.get("enableHermes", false); +/** + * Architectures to build native code for in debug. + */ +def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures") + android { ndkVersion rootProject.ext.ndkVersion @@ -166,6 +171,11 @@ android { buildTypes { debug { signingConfig signingConfigs.debug + if (nativeArchitectures) { + ndk { + abiFilters nativeArchitectures.split(',') + } + } } release { signingConfig signingConfigs.release @@ -223,7 +233,7 @@ dependencies { // Run this once to be able to run the application with BUCK // puts all compile dependencies into folder libs for BUCK to use task copyDownloadableDepsToLibs(type: Copy) { - from configurations.compile + from configurations.implementation into 'libs' } diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml index 9cf4669..a8f2ee4 100644 --- a/android/app/src/main/res/values/styles.xml +++ b/android/app/src/main/res/values/styles.xml @@ -3,7 +3,6 @@