美文网首页bug收集
BUG - Cannot expand ZIP 'G:\oroa

BUG - Cannot expand ZIP 'G:\oroa

作者: Candy有雪吃 | 来源:发表于2019-03-25 16:01 被阅读0次

使用AndroidStudio打jar包时,双击makeJar打包时我遇到下面的问题,完整错误日志:

:app:makeJar FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Cannot expand ZIP 'G:\oroar2\app\build\intermediates\bundles\release\classes.jar' as it does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

我的解决方法:

由于网上AndroidStudio版本问题,原先classes.jar的位置发生改变,由原先的\intermediates\bundles\release\ 变成了\intermediates\packaged-classes\release\,针对这个问题找了好久才发现,希望能够帮助到更多需要的人。

相关文章

网友评论

    本文标题:BUG - Cannot expand ZIP 'G:\oroa

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