已解决:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
生活随笔
收集整理的這篇文章主要介紹了
已解决:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
項(xiàng)目之前是好的,一段時(shí)間沒用,今天打開就出現(xiàn)上面的問題.網(wǎng)上嘗試了各種方法,比如手動(dòng)幫AS下載對(duì)應(yīng)zip,比如架VPN,一天過去了,并沒有解決.
只能在同事幫忙下進(jìn)行一個(gè)大招的放:
repositories {maven {url 'http://maven.aliyun.com/nexus/content/groups/public' // url 'https://maven.google.com/' // name 'Google'}google()jcenter()} allprojects {repositories {maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' }google()jcenter()} }希望對(duì)有需要的小伙伴有所幫助
總結(jié)
以上是生活随笔為你收集整理的已解决:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c语言kbhit函数6,C语言中kbhi
- 下一篇: python提取txt数据到excel