Reputation: 474
While loading project in android studio 3.1, build failed with error message "Unknown host 'proxy.ssn.net'. You may need to adjust the proxy settings in Gradle.".
After adjusting the proxy settings in gradle also it didn't solve my issue.
Upvotes: 0
Views: 730
Reputation: 31
Windows:
Go to : File > Settings > Appearance & Behavior > System Settings > HTTP Proxy [Under IDE Settings] Enable following option Auto-detect proxy settings
Mac:
Go to : Android Studio > Preferences > Appearance & Behavior.. etc
You can also use the test connection button and check with google.com to see if it works or not.
and after
File>invalid caches/restart >invalid and restart
Upvotes: 1
Reputation: 29
Have you tried changing in the gradle.properties file in the Gradle Scripts?. Comment those settings and sync the project.
Upvotes: 0