I got an UnknownHostException when I run the app on the device. When in the emulator, it was fine. I did the configuration of the server and hosts file thing. But I dont know if I have to do it again. Please, any advice would be appreciated. Thanks!
Asked
Active
Viewed 171 times
1
-
2Q: Is the address some public site that any DNS should be able to resolve? Or a local host on your own LAN? – paulsm4 Nov 04 '12 at 04:12
1 Answers
0
I was able to solve the problem. Restarting the avd, copying the hosts file to the android emulator, adding the internet permission. Then the problem was solved.

Sterling Diaz
- 3,789
- 2
- 31
- 35