Wednesday, April 11, 2012

UnknownHostException on Android


Start the emunator manually with the following command. The trick worked for me, when everything else did not work.
C:\android\tools>emulator -avd Legend78 -dns-server 8.8.8.8
The IP address 8.8.8.8 is google-public-dns-a.google.com

Or configure Eclipse in the Run or Debug configuration.

android, emulator, UnknownHostException, network

No comments:

Post a Comment