已解决: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
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
項目之前是好的,一段時間沒用,今天打開就出現上面的問題.網上嘗試了各種方法,比如手動幫AS下載對應zip,比如架VPN,一天過去了,并沒有解決.
只能在同事幫忙下進行一個大招的放:
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()} }希望對有需要的小伙伴有所幫助
總結
以上是生活随笔為你收集整理的已解决:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c语言kbhit函数6,C语言中kbhi
- 下一篇: b站长按几倍速