i am fed up of this error i am not getting how to solve this error its not setting to auto configuration mode.i am trying to auto configure it but it needs the auto configure URL i don't know the URL. it is giving the same error to all the projects which we import.please help this error i am trying it from so many days
In my case, because my system configured to an http proxy, I found some below settings in gradle.properties(Global prperties). May be this file doesnt exist in all projects, but to display put your android studio root on Android. after remove mentioned settings (below) error solved.
systemProp.http.proxyHost=
systemProp.https.proxyHost=
systemProp.https.proxyPort=80
systemProp.http.proxyPort=80
If you're not using any proxies then:
/project_directory/.gradle
folderIt should be working after these steps.
In my case I starting having this error after I updated:
Gradle plugin 3.6.3 -> 4.0.0
Gradle: 5.6.4 -> 6.1.1
First check your internet proxy settings copy the proxy settings like proxy host and port no. and go to your "gradle.properties" file in project and paste it like this
systemProp.http.proxyHost="copied proxy host"
systemProp.http.proxyPort="copied proxy port"
systemProp.https.proxyHost="copied proxy host"
systemProp.https.proxyPort="copied proxy port"
Generally people paste the system prop for http but forget for https so please paste both.
Sometimes, even you are not behind an http proxy, you need to configure them with dummy data like this:
systemProp.http.proxyHost=www.anyhost.com
systemProp.http.proxyPort=80
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With