Last Updated: February 25, 2016
·
1.452K
· juno

Enable network connectivity on Andoird Emulator

First, run Android emulator.
Then,

$ ./adb shell setprop net.eth0.dns1 8.8.8.8
$ ./adb shell setprop net.dns1 8.8.8.8