intelliJ idea加Gradle,在哪里可以找到编译器输出?

时间:2013-05-27 23:14:47

标签: ide intellij-idea gradle android-studio

不知道这是因为android-studio做错了什么,或者只是在intelliJ中的所有gradle项目中都是通用的,但有时当我运行build / debug时,我得到的只是:

Gradle: 
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ProjectA:compileDebug'.
> Compilation failed; see the compiler error output for details.

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

我似乎找不到任何获取更多信息的方法,因为这个文本已经出现在我认为的编译器输出上。

我应该在哪里看?

1 个答案:

答案 0 :(得分:1)

我为获得更好的信息所做的一件事是通过命令行转到项目根目录并运行

gradlew compileDebug

这确实提供了更多信息,但我并不是100%确定它运行与IDE相同的命令。

相关问题