Reputation: 1225
I'm having trouble with the android emulator, this one is Android 2.3.3 but i've had trouble with other versions as well.
When i start the emulator everything works great, for a while. But at some point (I don't know how long) it just stops working and i have to restart it.
It happens every time, and restarting it always fixes it. I've tried toggling the network on and off but that doesn't help.
The exception I get in logcat is "java.net.UnknownHostException: foo.com"
Any help would be appreciated! Thanks in advance!
Upvotes: 15
Views: 3810
Reputation: 100
I came across this link while researching the same issue. The DNS server fix worked for me. http://www.gitshah.com/2011/02/android-fixing-no-internet-connection.html
Upvotes: 2