报错信息:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':azkaban-common:test'.
> Process 'Gradle Test Executor 6' finished with non-zero exit value 137
This problem might be caused by incorrect test process configuration.
Please refer to the test execution section in the user guide at https://docs.gradle.org/4.6/userguide/java_plugin.html#sec:test_execution
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 23m 1s
上谷歌查了一下,大概原因是因为内存不够导致。
解决方案:
./gradlew build --no-daemon
然后就行了

本文详细介绍了当遇到Gradle构建失败,错误代码137时的解决方案。通常,这可能是由于内存不足引起的。文章提供了调整Gradle构建参数的步骤,通过禁用守护进程来解决此问题,成功完成了构建过程。
最低0.47元/天 解锁文章
2169

被折叠的 条评论
为什么被折叠?



