错误:连接超时:连接.如果您使用 HTTP 代理,请在 IDE 或 Gradle 中配置代理设置 [英] Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle
本文介绍了错误:连接超时:连接.如果您使用 HTTP 代理,请在 IDE 或 Gradle 中配置代理设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我受够了这个错误我不知道如何解决这个错误它没有设置为自动配置模式.我正在尝试自动配置它但它需要自动配置 URL 我不知道 URL.它对我们导入的所有项目都给出了相同的错误.请帮助这个错误我已经尝试了很多天
i am fed up of this error i am not getting how to solve this error its not setting to auto configuration mode.i am trying to auto configure it but it needs the auto configure URL i don't know the URL. it is giving the same error to all the projects which we import.please help this error i am trying it from so many days
推荐答案
如果您不使用任何代理,则:
If you're not using any proxies then:
- 删除
/project_directory/.gradle
文件夹 - 清理您的项目(构建 -> 清理项目).
- 再次同步项目
执行这些步骤后应该可以正常工作.
It should be working after these steps.
就我而言,我在更新后开始出现此错误:
In my case I starting having this error after I updated:
Gradle plugin 3.6.3 -> 4.0.0
Gradle: 5.6.4 -> 6.1.1
这篇关于错误:连接超时:连接.如果您使用 HTTP 代理,请在 IDE 或 Gradle 中配置代理设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文