Can麓t set the emulator麓s dns servers on windows

by Brion Emde » Mon, 05 Apr 2010 09:54:47 GMT

Sponsored Links
 That's a funny looking DNS that you're entering. How are you finding
your DNS?

I'm not saying those are not right, but I suspect that if they were
right, I your emulator would work.


Can麓t set the emulator麓s dns servers on windows

by Gabriel Sim玫es » Mon, 05 Apr 2010 10:39:00 GMT

 Actualy is googles open DNS
The second should be


Sponsored Links

Can麓t set the emulator麓s dns servers on windows

by Gabriel Sim玫es » Tue, 06 Apr 2010 06:24:48 GMT


Running the emulator manually with parameters -dns-server and -
verbose, I found out that the emulator complains it could not resolve
the DNS server specified (which is an IP for Google DNS, or any other
dns you want).
It says its going to use the default DNS but seems not to find any
defaut dns.
When I open the emulators browser, obviously no DNS can be resolved,
but all the websites work if I use their IP.

isnt there a way to force the emulator to use an IP address as a dns
Is there anything I can do or will I be forced to develop on linux (so
everytime I go back and forth systems I face problems with accents and
special caracters on my source code).



Can麓t set the emulator麓s dns servers on windows

by Brion Emde » Tue, 06 Apr 2010 07:04:15 GMT

 I think that you need to find out what your DNS servers are for your
ISP. There are instructions on the internet for Window, Mac and Unix
on how to do this.

On a windows machine, you run ipconfig /all and look for nameserver or
DNS lines and copy those IP addresses.

For example, my DNS servers are: and

so I set them for the emulator, like this:



Can麓t set the emulator麓s dns servers on windows

by Bob Kerns » Tue, 06 Apr 2010 09:18:15 GMT

 ou don't generally have to use your ISP's DNS servers, you can use
any DNS servers you want.

I use OpenDNS myself, and ignore Comcast's.

However, occasionally some firewall or other security software will
block DNS to other servers. So this is worth a try.

On Apr 5, 4:03pm, Brion Emde <> wrote:


Can麓t set the emulator麓s dns servers on windows

by Gabriel Sim玫es » Tue, 06 Apr 2010 11:35:13 GMT

 hats up Bob? hehehehe

Well, adding -dns-server (my actual dns) on Eclipse doesnt solve the
problem: I still get "no network connection" when I open the browser.
Using the same machine and the same network connection, everything
works great on linux. Unfortunately linux is not my main OS, hehehe.

On 5 abr, 22:17, Bob Kerns <> wrote:


Can麓t set the emulator麓s dns servers on windows

by vhagerty » Wed, 21 Apr 2010 09:51:28 GMT

 After wrestling with this for several days and following quite a few
wrong suggestions, I found a solution that not only made a little
sense, more importantly it actually worked, assuming this problem is
occurring on a wireless connection.

Here's the source of this solution: 

Bottom line: The emulator apparently uses the same DNS settings used
by the LAN card, which probably isn't going work if you're on a
wireless connection. Simply disable your LAN connection in Internet
Connections and suddenly everything's groovy.

Should've occurred to me when I noticed it worked fine on the company
network but not at all on wireless.

Hope this helps.



Other Threads

1. Building pre-optimized system for HTC Dream

I'm trying to get the current master branch to build for HTC Dream and
get an image (and/or otapackage) that's already been pre-optimized. I
searched a bit, but could only find references to DISABLE_DEXPREOPT,
WITH_DEXPREOPT, and WITH_DEXPREOPT_buildbot. I tried setting one and
all at both makefiles and as environment variables when using make but
nothing would yield a pre-optimized system.
I checked different version of build/core/ and I
noticed that the part that handles WITH_DEXPREOPT is now gone. As far
as I understand, any build that's not an emulator build is supposed to
yield those odexes, but I'm not having any luck at it.
What is it that I should do to get a device build to complete with


2. native c++ api

Can google provide a native c++ api to develop for Android, not the
NDK which uses Java/JNI to invoke c++ classes?
Its primarily for performance related requirement.


3. Cts test case with new font pack

4. Root HTC Dream Android 1.6

5. bagus mana blapkm***ket vs aptoide ?

6. USB notification issue with Android Froyo and 2.6.35 kernel

7. category name