packagingOptions
parent
16553feebc
commit
515f5a3c75
|
@ -48,6 +48,14 @@ android {
|
||||||
signingConfig signingConfigs.debug
|
signingConfig signingConfigs.debug
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
packagingOptions {
|
||||||
|
// libsdkcore.so是被加固过的,不能被压缩,否则加载动态库时会报错
|
||||||
|
doNotStrip "*/x86/libsdkcore.so"
|
||||||
|
doNotStrip "*/x86_64/libsdkcore.so"
|
||||||
|
doNotStrip "*/armeabi-v7a/libsdkcore.so"
|
||||||
|
doNotStrip "*/arm64-v8a/libsdkcore.so"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flutter {
|
flutter {
|
||||||
|
@ -58,4 +66,4 @@ dependencies {
|
||||||
testImplementation 'junit:junit:4.12'
|
testImplementation 'junit:junit:4.12'
|
||||||
androidTestImplementation 'androidx.test:runner:1.1.0'
|
androidTestImplementation 'androidx.test:runner:1.1.0'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
|
||||||
}
|
}
|
Loading…
Reference in New Issue