Android Studio:始终使用gradlew compileDebug构建

时间:2013-06-05 13:36:27

标签: android gradle android-studio android-build

有没有办法自定义Android Studio,以便Gradle始终使用compileDebug标志运行?

任何运行新Android Studio的人都可能会看到以下错误。我发现的唯一解决方案是从命令行运行gradlew compileDebug。保持控制台窗口始终打开是一个非常糟糕的工作流程。是否无法在IDE中显示构建错误?

Gradle: 
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':TestProj: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.

0 个答案:

没有答案