混淆器proguard的时候出现错误,麻烦大神看看吧

Samsunggggg 2019-07-22 02:38:03
Warning: class [compileReleaseJavaWithJavac/classes/com/sobot/chat/utils/ZhiChiConfig.class] unexpectedly contains class [com.sobot.chat.utils.ZhiChiConfig]
Warning: class [compileReleaseJavaWithJavac/classes/com/sobot/chat/utils/ZhiChiConstant.class] unexpectedly contains class [com.sobot.chat.utils.ZhiChiConstant]
Warning: class [compileReleaseJavaWithJavac/classes/com/sobot/library/BuildConfig.class] unexpectedly contains class [com.sobot.library.BuildConfig]
Warning: there were 327 classes in incorrectly named files.
You should make sure all file names correspond to their class names.
The directory hierarchies must correspond to the package hierarchies.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unexpectedclass)
If you don't mind the mentioned classes not being written out,
you could try your luck using the '-ignorewarnings' option.
...全文
578 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
王能 2019-07-29
  • 打赏
  • 举报
回复
可以考虑直接不混淆所有的第三方,这样省的以后加jar又要来一遍: https://blog.csdn.net/weimingjue/article/details/84976058
202005021116 应用层 2019-07-22
  • 打赏
  • 举报
回复
混淆文件内加上忽略警告试试: -ignorewarnings

80,337

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧