Android Studio禁止混淆JNI代码

1.在AS项目工程下:
app/proguard-android.txt 或:app/proguard-rules.pro
禁止混淆JNI代码:
# 设置所有 native 方法不被混淆
-keepclasseswithmembernames class * {
    native <methods>;
}

猜你喜欢

转载自blog.csdn.net/u010164190/article/details/80545568