我们在导入一个项目时,可能会出现Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.的错误,这是因为我们的gradle版本和android plugin version不一致导致的。
比如我的项目中gradle版本号是2.4,
需要将android plugin version改为1.3.0才行
,在项目外面的build.gradle中的dependencies中修改
Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
最新推荐文章于 2024-01-07 13:04:43 发布