【问题标题】:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle连接超时:连接。如果您使用 HTTP 代理,请在 IDE 或 Gradle 中配置代理设置
【发布时间】:2020-09-02 09:30:01
【问题描述】:

我在我的电脑上遇到这个问题,也在我的大学电脑上,没有任何图书馆正在下载,我没有从设置中选择代理选项,而且还在我的 gradle.properties 文件中添加了这个,但仍然面临这个问题。

#systemProp.http.proxyHost=127.0.0.1
#systemProp.http.proxyPort=8080
#systemProp.https.proxyHost=127.0.0.1
#systemProp.https.proxyPort=8080

【问题讨论】:

    标签: java android android-studio proxy


    【解决方案1】:

    我已经成功解决了这个错误,这是由于域中的代理造成的。

    【讨论】:

      猜你喜欢
      • 2016-02-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-14
      • 1970-01-01
      • 1970-01-01
      • 2014-08-22
      • 1970-01-01
      相关资源
      最近更新 更多