From 49da2d94ebd32038dcd44c1bb8a1f4925c8f719c Mon Sep 17 00:00:00 2001 From: Yao Bin Date: Thu, 9 Aug 2018 04:29:08 +0800 Subject: [PATCH] Update docs on splitting APKs (#496) Gradle v3.1 complains about conflicting configuration as below
Conflicting configuration : 'armeabi-v7a,x86' in ndk abiFilters cannot be present when splits abi filters are set : x86,armeabi-v7a
--- docs/signed-apk-android.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/signed-apk-android.md b/docs/signed-apk-android.md index 6e77121f57c172..b385f673c8439b 100644 --- a/docs/signed-apk-android.md +++ b/docs/signed-apk-android.md @@ -112,6 +112,9 @@ By default, the generated APK has the native code for both x86 and ARMv7a CPU ar You can create an APK for each CPU by changing the following line in android/app/build.gradle: ```diff +- ndk { +- abiFilters "armeabi-v7a", "x86" +- } - def enableSeparateBuildPerCPUArchitecture = false + def enableSeparateBuildPerCPUArchitecture = true ```