Android Emulation
Contents
Virtual Devices
Android Virtual Devices (AVDs) are hardware and software configurations to be emulated. Multiple can be installed side-by-side, then selected at launch time.
If you have only one AVD installed, this shortcut will work. (And if you have more than one installed, some clever variation will also work.)
emulator ... -avd $(emulator -list-avds)
Networking
The emulator tries to use the local system's DNS configuration (i.e. /etc/resolv.conf). However, Android only behaves with Google's servers. Call the emulator with:
emulator ... -dns-server 8.8.8.8