The solution to android studio build gradle failure problem is as follows

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here
Divided into two steps, 1. Go to the gradle.properties file in C:\Users\QHC.gradle under the user and delete the 4 proxy settings systemProp.https.proxyPort=1080
systemProp.http.proxyHost=127.0.0.1
systemProp.https.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
2. Use android studio to open http proxy in the project and set it to an empty ip address, which is to set no proxy

Guess you like

Origin blog.csdn.net/qq_36570506/article/details/123293121