[fix] fix build for recent versions of ndk

Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
Eric Dvorsak 2018-05-24 14:46:44 +02:00 committed by Eric Dvorsak
parent dd651f1e82
commit 4b7360db17
No known key found for this signature in database
GPG Key ID: 932AC1CE5F05DE0C
1 changed files with 6 additions and 1 deletions

View File

@ -127,7 +127,7 @@ android {
versionCode getVersionCode() versionCode getVersionCode()
versionName getVersionName() versionName getVersionName()
ndk { ndk {
abiFilters "armeabi-v7a", "x86" abiFilters "armeabi-v7a", "arm64-v8a", "x86"
} }
} }
/** /**
@ -138,6 +138,11 @@ android {
*/ */
packagingOptions { packagingOptions {
exclude 'META-INF/rxjava.properties' 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 { dexOptions {
jumboMode true jumboMode true