From 4b996da470b43f97fd0426b54bda739d7717fb28 Mon Sep 17 00:00:00 2001 From: Mike Grabowski Date: Wed, 13 Mar 2019 17:57:25 +0100 Subject: [PATCH] [Android] Fixed template build gradle error on x86_64 See https://github.com/facebook/react-native/pull/23897 --- template/android/app/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/android/app/build.gradle b/template/android/app/build.gradle index 3bf8cc73161ffc..a7a5a1e23fc535 100644 --- a/template/android/app/build.gradle +++ b/template/android/app/build.gradle @@ -113,7 +113,7 @@ android { reset() enable enableSeparateBuildPerCPUArchitecture universalApk false // If true, also generate a universal APK - include "armeabi-v7a", "x86", "arm64-v8a", "x86-64" + include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" } } buildTypes { @@ -127,7 +127,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, "arm64-v8a": 3, "x86-64": 4] + def versionCodes = ["armeabi-v7a":1, "x86":2, "arm64-v8a": 3, "x86_64": 4] def abi = output.getFilter(OutputFile.ABI) if (abi != null) { // null for the universal-debug, universal-release variants output.versionCodeOverride =