猿问

如何在构建Android Studio项目时添加Stacktrace或调试选项

如何在构建Android Studio项目时添加Stacktrace或调试选项

我试图在控制台输出中调查项目构建错误,如下所示:

:myapp:processDebugResources FAILED

FAILURE: Build failed with an exception.* What went wrong:Execution failed for task ':app:processDebugResources'.......* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

我怀疑它与资源未找到错误有关。我的问题是,在IDE级别,我如何添加--stacktrace--debug选项,以便它可以为我调试生成更多信息?


慕哥6287543
浏览 1282回答 3
3回答

白板的微信

在Mac版本上Android Studio Beta 1.2,它是在Android Studio->preferences->Build, Execution, Deployment->Compiler
随时随地看视频慕课网APP

相关分类

Android
我要回答