多语言展示
当前在线:713今日阅读:138今日分享:33

Error:Execution failed for task ... be empty

Error:Execution failed for task ':app:shrinkWandoujia Release MultiDex Components'. > java.io.IOException: The output jar,must be specified after an input jar, or it will be empty.
工具/原料

android studio

方法/步骤

android studio  打包混淆和压缩出现的问题minifyEnabled trueshrinkResources true当设置了这两个属性后,1.请注意你的混淆文件里面有没有重复的过滤同一个属性2.如果报错Error:Execution failed for task ':app:shrinkWandoujia Release MultiDex Components'. > java.io.IOException: The output jar, ... must be specified after an input jar, or it will be empty.请根据android  studio message里面最后的报错哪里的最后几行提示去过滤错误。

推荐信息