I am getting this error in android studio 3.0.
<Unknown host \'dl.google.com\' You may need to adjust the proxy settings in Gradle
In my case, after I config kotlin for project I face this problem.
After 30 minutes try 'Auto proxy' and learn about proxy with no hope, I see suddenly I see
repositories {
mavenCentral()
}
in the end of my build.gradle. Then I delete it and it working.
The most interesting is after it working, I put above line to gradle again but it still working.
So maybe it is not a root problem, however I think it may bring some luck in some case.
Currently, I use Window and AndroidStudio 3.4.2