How to set Internet options for Android emulator?


Question

I've been using this method to gain access to internet from my Android emulator emulator -http-proxy <<proxy-name>> -avd <<avd_name>>

It works but is that the best way to do it? It just doesn't feel right that I need to open the emulator from command line and can't just do it from Eclipse or something.

Can't seem to find an internet option on the "AVD Manager" either.

1
46
1/15/2015 3:29:00 PM

You could also try explicitly specifying DNS server settings, this worked for me.

In Eclipse:

Window>Preferences>Android>Launch

Default emulator options: -dns-server 8.8.8.8,8.8.4.4

58
1/19/2011 2:41:53 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
Icon