4

I want to access internet in my android emulator for which i have manually entered dns setting as mentioned in the following link How to set Internet options for Android emulator?

but still when i start the emulator it show the warning that no dns server found and hence there is no internet connectivity in my android emulator. How can i solve this problem.

Community
  • 1
  • 1
Tapan Desai
  • 848
  • 2
  • 14
  • 36

2 Answers2

6

In Eclipse:

Window>Preferences>Android>Launch

Default emulator options: -dns-server 8.8.8.8,8.8.4.4

Tapan Desai
  • 848
  • 2
  • 14
  • 36
2

I tried the above method, but had no effect unless setting a name-server on the host OS (Linux):

nano /etc/network/interfaces 

auto eth0
dns-nameservers 8.8.8.8 8.8.4.4
Martin Zeitler
  • 1
  • 19
  • 155
  • 216