Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio / Win8 / ERR_NAME_NOT_RESOLVED

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!

like image 860
znelson Avatar asked Jul 25 '14 03:07

znelson


2 Answers

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

like image 123
znelson Avatar answered Nov 14 '22 06:11

znelson


i have a solution, that isn't understandble for me, but it works: When the emulator has startet, i diconnect and connect my notebook wlan, and then it works.

like image 1
user4577028 Avatar answered Nov 14 '22 07:11

user4577028