Kalder <stefank21 <at> gmail.com> writes:

> 
> Ok, I've been searching and searching a lot, I've seen people post the
> same problem on forums a lot, though non of the solutions that were
> suggested are working.
> I tried disabling my firewall/virusscanner and windows firewall too, I
> tried adb kill-server and adb start-server, nothing seems to help.
> The SDK directory is set up right in eclipse, I even deleted eclipse
> and reinstalled it (or unpacked as there is no installer).
> I even changed the hosts file in windows/system/drivers/etc to make
> sure 127.0.0.1 was localhost (it had been commented out)
> I tried running eclipse in admin mode, nothing helps I keep getting
> the following error when I start eclipse after the ADT has been
> installed:
> 
> ddms] Failed to initialize Monitor Thread: Unable to establish
> loopback connection
> 
> And when I try to run something I get this:
> 
> test] ------------------------------
> test] Android Launch!
> test] Connection with adb was interrupted.
> test] 0 attempts have been made to reconnect.
> test] You may want to manually restart adb from the Devices view.
> 
> If anyone has a working solution please let me know, I've been
> searching so much that I gave up, all the solutions I found don't fix
> it, so maybe someone here can help me on. I would really appreciate
> it.
> 


I'm certain you have a firewall stopping the ADB connecting, if you've tried 
disabling the firewalls you run then double check to see if there is any old 
firewall software that might still be running in the background that needs to 
be fully removed. It might sound strange but here's why...

Had the exact same problem today when I set up eclipse with the ADT. After 
trying everything I finally booted the PC in safemode with networking, and 
when I started up eclipse it then showed a windows firewall message that java 
SE connection was being stopped, in safe mode I had the option to allow the 
connection - and bingo it finally got the connection with the ADB and worked.

With the PC running in normal mode I disabled firewalls but it was back to not 
working and I was confused why with no firewall that the connection could not 
be established the way it worked in safemode. 

I then realised that I had an old anti-virus software that came with my 
machine that had long passed its licence, on checking the services list in 
windows task manager I could see that the old forgotten firewall was 
still "running" (even though it had long expired and could not be controlled!) 
Once I fully uninstalled the old antivirus software everything works 
perfectly - i even re-enabled the current antivirus firewall (with ABD, 
eclipse and other related programmes connections allowed) and it still 
connects.

-- 
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