1
0
Fork 0

packagingOptions libsdkcore

master
xiaoyu 2020-09-03 14:22:32 +08:00
parent 26f7004801
commit 209ba82854
1 changed files with 5 additions and 0 deletions

View File

@ -169,6 +169,11 @@ android {
pickFirst "lib/arm64-v8a/libc++_shared.so" pickFirst "lib/arm64-v8a/libc++_shared.so"
pickFirst "lib/x86/libc++_shared.so" pickFirst "lib/x86/libc++_shared.so"
pickFirst "lib/x86_64/libc++_shared.so" pickFirst "lib/x86_64/libc++_shared.so"
// libsdkcore.so是被加固过的不能被压缩否则加载动态库时会报错
doNotStrip "*/x86/libsdkcore.so"
doNotStrip "*/x86_64/libsdkcore.so"
doNotStrip "*/armeabi-v7a/libsdkcore.so"
doNotStrip "*/arm64-v8a/libsdkcore.so"
} }
// applicationVariants are e.g. debug, release // applicationVariants are e.g. debug, release