当前位置:网站首页>Flutter jni混淆 引入.so文件release包闪退
Flutter jni混淆 引入.so文件release包闪退
2022-07-26 10:39:00 【Flutter萌新学院】
Flutter 引入Android jni 插件 ,debug没事,release包闪退 加入防止混淆也不管用
-dontwarn io.flutter.**
-keep class io.flutter.app.** {
*; }
-keep class io.flutter.plugin.** {
*; }
-keep class io.flutter.util.** {
*; }
-keep class io.flutter.view.** {
*; }
-keep class io.flutter.** {
*; }
-keep class io.flutter.plugins.** {
*; }
解决办法 不混淆 不压缩
buildTypes {
release {
//关闭混淆
minifyEnabled false //删除无用代码
shrinkResources false //删除无用资源
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86_64", "x86" // 保留架构的CPU
}
}
}
}
边栏推荐
猜你喜欢

第7期:内卷和躺平,你怎么选

【dectectron2】跟着官方demo一起做

kali 查看ip地址
![[leetcode daily question 2021/2/14]765. Lovers hold hands](/img/be/8639a05c733638bf0b3fdeb11abccf.png)
[leetcode daily question 2021/2/14]765. Lovers hold hands

从蚂蚁的觅食过程看团队研发(转载)
![[machine learning notes] [face recognition] deeplearning ai course4 4th week programming](/img/7e/9c0e88097b90c0c24ebf86f090805b.png)
[machine learning notes] [face recognition] deeplearning ai course4 4th week programming

oracle 启动不了 tnslistener服务启动不了
![[leetcode daily question 2021/8/31] 1109. Flight reservation statistics [medium] differential array](/img/9d/5ce5d4144a9edc3891147290e360d8.png)
[leetcode daily question 2021/8/31] 1109. Flight reservation statistics [medium] differential array
![[leetcode每日一题2021/8/31]1109. 航班预订统计【中等】差分数组](/img/9d/5ce5d4144a9edc3891147290e360d8.png)
[leetcode每日一题2021/8/31]1109. 航班预订统计【中等】差分数组

IAR sprintf 浮点 在UCOS 总格式化成0.0的问题
随机推荐
vscode上使用anaconda(已经配置好环境)
Some web APIs you don't know
The problem of large fluctuation of hx711 data
剑指Offer(四十四):翻转单词顺序序列
11 handle "self assignment" in operator=
IAR sprintf 浮点 在UCOS 总格式化成0.0的问题
Issue 8: cloud native -- how should college students learn in the workplace
[leetcode daily question 2021/2/14]765. Lovers hold hands
在神州IV开发板上成功移植STemWin V5.22
px2rem-loader将px转化为rem,适配移动端vant-UI等框架
json_ object_ put: Assertion `jso->_ ref_ count > 0‘ failed. Aborted (core dumped)
[paper after dinner] deep mining external perfect data for chestx ray disease screening
剑指Offer(二十):包含min函数的栈
Anaconda is used on vscode (the environment has been configured)
剑指Offer(八):跳台阶
.NET操作Redis String字符串
GIS方法类期刊和论文的综述(Introduction)怎么写?
[leetcode每日一题2021/2/13]448. 找到所有数组中消失的数字
12 don't forget every component when copying an object
[转]ArcGIS中判断两个Geometry之间的关系