[fix] fix build for recent versions of ndk
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
dd651f1e82
commit
4b7360db17
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue