android studio , Connect to 127.0.0.1:1081 [/127.0.0.1] failed: Connection refused: connect

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 文件,去掉代理配置。

android studio , Connect to 127.0.0.1:1081 [/127.0.0.1] failed: Connection refused: connect_第1张图片

 

你可能感兴趣的:(开发过程中遇到的问题,android,studio,android,gradle)