Monday, October 27, 2014

Android Studio:Unknown Host Error

After installing Android Studio, I got the following error:

Unknown host 'services.gradle.org'.

Please ensure the host name is correct. If you are behind an HTTP proxy, please configure the proxy settings either in Android Studio or Gradle.

Consult IDE log for more details (Help | Show Log)
Solution

File --> Settings --> HTTP Proxy --> Auto-detect proxy settings

No comments: