![]() ![]() It would be nice if I could set this DNS to be used by emulators launched through Android Studio, but hopefully these steps help someone else in a similar position. ![]() Then ran the desired emulator with dns server override. Then navigated to the sdk emulator location (for convenience): cd ~/Library/Android/sdk/emulator I'm on a Mac, so first I checked my network settings to find what my DNS was set to: System Preferences -> Network -> Wi-Fi -> Advanced -> DNS 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. ![]() You are setting the DNS server only for the emulator, avoiding other problemsįor me the issue appears to stem from the DNS settings my company enforces. In this case, you don't need to set DNS server in System Preferences. Now, you can start AVD from Android Studio normally
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |