Could not install Gradle distribution from xxx

1. 异常提示信息

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-6.1.1-all.zip'.

Could not install Gradle distribution from xxx

2. 解决方法

Settings --> Build,Execution,Deployment --> Gradle 配置

在Use Gradle from选择 “Specified location”,选择本地配置的Gradle构建工具

Could not install Gradle distribution from xxx

3. 重新加载工程

Could not install Gradle distribution from xxx

build日志信息:

Starting Gradle Daemon...
Gradle Daemon started in 1 s 555 ms
> Task :prepareKotlinBuildScriptModel UP-TO-DATE

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.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 48s

看到结果显示:BUILD SUCCESSFUL

上一篇:Go语言实现:【剑指offer】从尾到头打印链表


下一篇:layui中使用table的快速入门时 thymeleaf+layui加载页面渲染时TemplateProcessingException: Could not parse as expressio