开发者社区> 问答> 正文

android代码混淆打包报错

FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:shrinkReleaseMultiDexComponents'. > java.io.IOException: The output jar [/root/.jenkins/jobs/Android-PRD/workspace/app/build/intermediates/multi-dex/release/componentClasses.jar] must be specified after an input jar, or it will be empty. 

打包时报这个错,

展开
收起
爵霸 2016-03-26 11:20:22 3394 0
1 条回答
写回答
取消 提交回答
  • 可以把shrink设置为false,它表示自动去除多余的文件或资源,然后再试试。
    shrink设置和打包是在一起的

    2019-07-17 19:15:52
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
58同城Android客户端Walle框架演进与实践之路 立即下载
Android组件化实现 立即下载
蚂蚁聚宝Android秒级编译——Freeline 立即下载