当前位置: 首页 > article >正文

Android 因为混淆文件配置,打release包提示running R8问题处理

一、报错信息

Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in E:\workplace\xxxxxx\app\build\outputs\mapping\release\missing_rules.txt.
Missing class org.mediakit.R$layout (referenced from: android.view.View org.mediakit.ScImeService.onCreateInputView())

二、解决办法

在proguard-rules.pro中添加以下语句:

-dontwarn org.vclusters.R$layout

处理思路:根据报错提示,采用-dontwarn 去除警告,后面就可以打包成功了


http://www.kler.cn/a/430353.html

相关文章:

  • 从0开始边做边学,用vue和python做一个博客,非规范化项目,怎么简单怎么弄,跑的起来有啥毛病解决啥毛病(三)
  • Logstash stopped processing because of an error: (SystemExit) exit
  • 【系统设计】俭约架构七大法则
  • 什么是 Merkle 树
  • Redis探秘Sentinel(哨兵模式)
  • 讲讲什么是 JSX ?
  • Linux Ubuntu 安装配置RabbitMQ,springboot使用RabbitMQ
  • 链式设计模式总结
  • 【游戏设计】游戏中复活点系统类型总结
  • SSM虾米音乐项目2--分页查询
  • Python Web 应用:FastAPI 与 SQLAlchemy ORM
  • 单词拼写纠正-03-72.力扣编辑距离 leetcode edit-distance
  • RISC-V架构下OP-TEE 安全系统实践
  • Python 爬虫 (1)基础 | XHR
  • ruoyi-nbcio为安全起见actuator为仅暴露health端点
  • 数据仓库实验二 实现警务数据仓库OLAP应用
  • 五天SpringCloud计划——DAY3之服务治理(Nacos+OpenFeign+OKHttp)
  • ubuntu16.04部署dify教程
  • 算法-字符串-165.比较版本号
  • 【UBOOT】【run_main_loop】uboot 启动 linux 内核