Return to site

Mac sierra android emulator

broken image
broken image

In order to be able to get network access for my emulator I needed to launch the emulator with the same corporate dns-server specified. This is the easiest, but often less viable solution, as you'll likely need to keep those up (for example they might be VM virtual network interfaces, or else).įor me the issue appears to stem from the DNS settings my company enforces. The first one is disabling all the Network Interfaces that aren't connected to the Internet. MacOS ~/Library/Android/sdk/emulator// Windows The Emulator gets DNS setting from a host Network Adapter, so picking the wrong one might leave it with the wrong settings and render it unable to connect. Mac OS High Sierra 10.13.2, Have you ever frustrated that your Android Emulator is not able to connect to Internet? One day out of no choice, had to get it working.

broken image

Then restart the emulator so the changes take effect. System Preferences -> Network -> select Wi-Fi os left panel -> Advanced on right panel -> DNS -> add new DNS server for example 8.8.8.8 and 8.8.4.4 ( Google Public DNS) or 1.1.1.1 and 1.0.0.1 ( Cloudflare and APNIC DNS) or another public DNS provider.