Android emulator not connecting to internet mac

broken image
broken image

There are different solutions to this problem. Your AVD is launched and you should be able to use internet. Then launch the AVD you would like with the following instructions: emulator -avd NameOfYourDevice -dns-server 8.8.8.8 It will return you something like this: Android_Wear_Round_API_23

broken image

Then retrieve the name of your AVDs : emulator -list-avds In your Terminal go to the folder tools of your Android sdk to find the 'emulator' program: cd ~/Library/Android/sdk/tools What did the trick for me was to launch in command line my AVD and giving manually the Google public DNS 8.8.8.8.

broken image

If while trying the below solution you get the following message 'PANIC: Missing emulator engine program for 'x86' CPU.”, then please refer to to update your bash environment.įor some reasons, I wasn't able to access internet through my AVD at work (probably proxy or network configuration issues). For more recent version of Android Studio, the emulator you need to use is no longer in the ~/Library/Android/sdk/tools folder but in ~/LibraryAndroid/sdk/emulator.