報錯信息
FAILURE: Build failed with an exception.
* What went wrong:
Failed to notify dependency resolution listener.
> GC overhead limit exceeded
* 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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 9m 46s
Expiring Daemon because JVM heap space is exhausted
C:\Users\HP\.gradle
文件夾下創建gradle.properties
文件添加
org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=512m
Restart eclipse 重新Gradle->Refresh Gradle Project