连接超时:连接。如果您在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

查看:9188
本文介绍了连接超时:连接。如果您在HTTP代理之后,请在IDE或Gradle中配置代理设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我厌倦了这个错误我没有得到如何解决这个错误,它不设置为自动配置模式。我正在尝试自动配置它,但它需要自动配置URL我不知道的URL。
它给我们import.please的所有项目提供相同的错误帮助这个错误,我试图从这么多天

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

推荐答案

首先检查您的互联网代理设置复制代理设置,如代理主机和端口号。并在项目中转到你的gradle.properties文件,并像这样粘贴

First check your internet proxy settings copy the proxy settings like proxy host and port no. and go to your "gradle.properties" file in project and paste it like this

systemProp.http.proxyHost="copied proxy host"
systemProp.http.proxyPort="copied proxy port"

systemProp.https.proxyHost="copied proxy host"
systemProp.https.proxyPort="copied proxy port"

一般来说,人们将系统支持粘贴到http,但忘记了https,请粘贴两者。

Generally people paste the system prop for http but forget for https so please paste both.

这篇关于连接超时:连接。如果您在HTTP代理之后,请在IDE或Gradle中配置代理设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆