AS, 报错 :  Connect to 127.0.0.1:1081 [/127.0.0.1] failed: Connection refused: connect

> Could not resolve com.github.bumptech.glide:compiler:4.11.0.
         > Could not get resource 'https://dl.google.com/dl/android/maven2/com/github/bumptech/glide/compiler/4.11.0/compiler-4.11.0.pom'.
            > Could not GET 'https://dl.google.com/dl/android/maven2/com/github/bumptech/glide/compiler/4.11.0/compiler-4.11.0.pom'.
               > Connect to 127.0.0.1:1081 [/127.0.0.1] failed: Connection refused: connect

解决方式

gradle.properties 文件,去掉代理配置。

 

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐