错误:连接超时:连接 [英] Error:Connection timed out: connect
问题描述
我将Android Studio 1.5.1的gradle版本从1.5更改为2.10,并单击同步,(错误图像),但是出现错误:
错误:连接超时:连接。如果您使用的是HTTP代理,请在IDE或Gradle中配置代理设置。
<在gradle脚本中加入你的gradle.properties文件并加入:
I changed the version of gradle of Android Studio 1.5.1 from 1.5 to 2.10 and clicked sync now, (error image) but the follow ERROR ocurred : Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
go to your gradle.properties file in gradle scripts and add this : 这篇关于错误:连接超时:连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋! systemProp.http.proxyHost = 127.0.0.1 $ c
$ b systemProp.http.proxyPort = 3128
//输入您的代理端口
systemProp.https.proxyHost = 127.0.0.1
systemProp.https.proxyPort = 3128
// //输入您的代理端口。您可以通过转到Internet选项 - >连接 - > LAN设置 - >高级 - >端口来查找代理端口。
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=3128
// enter your proxy portsystemProp.https.proxyHost=127.0.0.1
systemProp.https.proxyPort=3128
// enter your proxy port. You can find proxy port by going to internet option-> connections -> LAN settings -> Advanced -> port