Hi All,

I got those two problems. Both exist only on my primary development
comp, which is running Windows 7 64bit.
Using Eclipse 3.5, jdk 6.20 (tried everything with jdk 6.19 too),
latest android sdk.
Windows firewall is off, comodo firewall is running, and windows
security essentials too.
Comodo policies allow all incoming and outgoig communication of any
type for both, adb and emulator. And javaw.exe as well.
In fact, I have both problems with disabled comodo and wse as well.

1) adb doesn't detect emulators that were launched after adb. In other
words if I run adb and then the emulator, which is the case in
eclipse, adb devices command returns empty list. If I restart adb, or
launch emulator from the command line and then run adb, it is working,
adb devices returns emulator5554:name just fine.

2) Emulator can't connect to internet, browser says "no network
connection"
I've tried to specify dns server using emulator.exe -dns-server
192.168.0.1 -avd A22 command, I get the error - ### WARNING: can't
resolve DNS server name '192.168.0.1', even though that's the dns
returned by ipconfig /all. Second line of the message says, will use
default DNS server, which in verbose log turns out to be the same
192.168.0.1....
Specifying DNS servers of my ISP doesn't help either, I get the same
warning.
Enabled verbose logging, but no error is reported there. I can post
that log if it helps to resolve the problem.

What I already tried few times:
Remove eclipse, jdk and android SDK completely; disable firewall and
AV; install jdk; eclipse; update eclipse; install android sdk; install
eclipse plugin;

Same installation procedures and settings work fine on two other
computers, one is a desktop, another is a laptop, but both are running
windows XP, one SP2, another SP3.
So, I am assuming the problem is with Win7 64.
One thing I found is that my win7 installation has hosts file not
under \windows\system32\drivers\etc, nor under \Windows
\SysWOW64\drivers but somewhere in \Windows\winsxs\amd64_microsoft...
which is weird, but the documentation I found about emulator behavior
states that hosts file is ignored, and instead the emulator gets its
data using windows GetNetworkParams() API call.

Any suggestions how to resolve any of those two?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to