Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-8.6-bin
·
Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-8.6-bin.zip’. Connection refused: no further information
Please ensure the host name is correct. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
这个错误是因为 IntelliJ IDEA 或 Gradle 无法从指定 URL 下载 Gradle 发行版(gradle-8.6-bin.zip),通常是由于网络问题或代理配置不正确导致的。以下是几种解决方法:
- 检查网络连接
确保你的电脑可以正常访问互联网。
尝试在浏览器中直接打开下载链接,看看能否正常下载:
```如果浏览器也无法访问,可能是网络问题(如代理、防火墙限制)。
总结推荐步骤
先尝试浏览器能否下载 → 如果不能,检查代理或网络。
手动下载 Gradle 并放入缓存目录(最快解决)。
如果还是不行,换版本或改用本地 Gradle。
更多推荐



所有评论(0)