From 4b7360db17e68cf865958316cc59131bdeeec378 Mon Sep 17 00:00:00 2001 From: Eric Dvorsak Date: Thu, 24 May 2018 14:46:44 +0200 Subject: [PATCH] [fix] fix build for recent versions of ndk Signed-off-by: Eric Dvorsak --- android/app/build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 628bba3651..a86e630138 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -127,7 +127,7 @@ android { versionCode getVersionCode() versionName getVersionName() ndk { - abiFilters "armeabi-v7a", "x86" + abiFilters "armeabi-v7a", "arm64-v8a", "x86" } } /** @@ -138,6 +138,11 @@ android { */ packagingOptions { exclude 'META-INF/rxjava.properties' + /** Fix for: Execution failed for task ':app:transformNativeLibsWithStripDebugSymbolForDebug'. + * with recent version of ndk (17.0.4754217) + */ + doNotStrip '*/mips/*.so' + doNotStrip '*/mips64/*.so' } dexOptions { jumboMode true