Android Studio / Win8 / ERR_NAME_NOT_RESOLVED

znelson picture znelson · Jul 25, 2014 · Viewed 25.7k times · Source

Using Android Studio on Windows 8 x64 (latest stable build). I have an extremely simple project with nothing but a WebView pointed to google.com but everytime I launch the app in the emulator, I get ERR_NAME_NOT_RESOLVED.

I've made sure the INTERNET permission is in the manifest, I tried passing the -dns-server flag to the emulator pointing it to 127.0.0.1 as well as my router's IP, nothing works. I've scoured the web and found nothing, which seems suspicious. This is a relatively simple thing that I expected to work right out of the box.

Any ideas? Thanks in advance!

Answer

znelson picture znelson · Jul 25, 2014

By disabling my NIC, I was able to get the emulator to use my Wifi connection. Answer found here: https://stackoverflow.com/a/2702663/568531