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
Restarting emulator worked for me.