美文网首页
编译失败:Error:Execution failed for

编译失败:Error:Execution failed for

作者: 匿名者joker | 来源:发表于2019-04-09 18:13 被阅读0次

出现这个异常很蛋疼,AS不会提示更多的信息
gradlew compileDebug --stacktrace
在AS中的Terminal面板中输入该命令,便可以得到较为详细的信息,接着输入gradlew compileDebug --stacktrace -infogradlew compileDebug --stacktrace -debug就可以得到更加详细的信息

image.png
最后发现了这张图上的信息,这次编译失败是传参不一致导致的。

相关文章

网友评论

      本文标题:编译失败:Error:Execution failed for

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