Javad
Javad

Reputation: 133

Android Studio proxy setting is set on no proxy, But still proxy is enabled

On My Gradle sync, I recive this error :

 Received status code 501 from server: Tor is not an HTTP Proxy

and my proxy setting is set on no proxy !

The Best

Upvotes: 5

Views: 2106

Answers (2)

AghaMahdi79
AghaMahdi79

Reputation: 11

In Windows, I changed this file: C:\Users\<Your-User>\.gradle\gradle.properties

Upvotes: 1

Sabri Mevis
Sabri Mevis

Reputation: 2431

I got the same problem. Removing proxy settings in global gradle properties file fixed my problem. Check here; ~/.gradle/gradle.properties. The folder in macOS and windows is hidden. You can also find the related question and answer here; Disabling proxy settings in Android Studio 3.2.1 not working

Upvotes: 12

Related Questions