美文网首页
打包失败Error:A problem was found wi

打包失败Error:A problem was found wi

作者: 宁静世界 | 来源:发表于2017-02-20 11:14 被阅读0次

打包失败Error:A problem was found with the configuration of task ':app:packageRelease'. > File 'F:\workSpace2\Android\app\build\intermediates\res\resources-release-stripped.ap_' specified for property 'resourceFile' does not exist.

今天早上一打包就出现了这个问题,之前一直没有,百度了一下是这个属性导致的( shrinkResources true)
shrinkResources true.打包的时候会去删除一些不必要 的文件,结果就打包失败了。

解决方法 shrinkResources false

Paste_Image.png Paste_Image.png

相关文章

网友评论

      本文标题:打包失败Error:A problem was found wi

      本文链接:https://www.haomeiwen.com/subject/hdiswttx.html