[android-developers] Emulator DNS/network problems...is there a posted fix?
I've read many postings about problems getting the Android emulator
DNS to work properly in certain situations. I have a simple app that
makes an HTTP connection to a server on the Internet. If I use an IP
address using the latest version of the emulator it works fine. If I
use the domain name it throws a java.net.UnknownHostException: Host is
unresolved: exception. The identical code works fine on any actual
device.
Has anyone figured out how to fix this situation? I've spent days
trying everything, from using proxy servers to setting up and running
a DNS server on my development machine.
This situation/experience is a shame, because the emulator seems like
such an impressive and well thought out collection of tools for
developing and testing apps. However, it is currently useless to me.
Is there anyone who can help?
A prior thread on the same issue--appears to be the same situation:
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home