来源:https://blog.csdn.net/forresthua/article/details/94412296
https://www.http3w.com/archives/528
release发布报错Could not resolve com.android.tools.build:gradle:4.1.1.
去掉代理:C:\Users\jay.star\.gradle\gradle.properties
https://www.http3w.com/archives/528
release发布报错Could not resolve com.android.tools.build:gradle:4.1.1.
去掉代理:C:\Users\jay.star\.gradle\gradle.properties
# systemProp.http.proxyHost=mirrors.neusoft.edu.cn # systemProp.https.proxyHost=mirrors.neusoft.edu.cn # systemProp.https.proxyPort=80 # systemProp.http.proxyPort=80
Android Studio去掉代理
File》settings》Appearance & Behavior》System Settings》HTTP Proxy》选择 No Proxy
build.gradle中repositories不用用http的库,全要https