Eclipse IDE: Failed to initialize monitor stream error after installing Android SDK?

I just installed the Android SDK plugin for Eclipse, and whenever I start my IDE (eclipse), I get the error message "failed to initialize monitor thread. Unable to establish loopback connection" . Then in the console, he proceeds to repeated connection attempts, which look like this [2011-09-04 16:21:53 - DeviceMonitor]Connection attempts: 37 Again and again (there were 36 of them in the console, this is the 37th).

My IDE is a classic eclipse (helios). I tried it with the new version 3.7 (indigo), but the same error occurs.

I tried to figure it out. Almost 3 weeks passed when I did all the research on googling searches, etc., but I could not find the answer that resolved this ...

+4
source share
6 answers

I had the same problem and the reason was the wrong Java JDK. If you installed Java JDK 7, first uninstall it and reinstall the download link for JDK 6 โ†’.

I don't know if this works if you just download JDK 6 and set the path to JAVA_HOME for it. I deleted JDK 7 because I no longer used it.

+2
source
  • Make sure localhost points to 127.0.0.1
  • Disable firewall

Although this is not Android, this thread also talks about this issue:

http://www.java.net/node/693759

0
source

the problem is not that Eclipse loses contact with the emulator using the Reset option, which you can get through

see here How to connect Android emulator to ADB?

0
source

Solution (workaround): disable the Teredo Tunneling pseudo conductor.

It will probably convert IP4 to IPv6 addresses or something like that, resulting in an IPv6 address for your local host (strange though PING still leads to IP4). In any case, disabling it (device manager> view> Show hidden devices> right-click on disabled Teredo>) solves the problem!

I found that my Win7 installation re-enabled my Teredo device after every boot. Even when I uninstall. So I created a batch file (I ran it as Administrator), which issues the following commands:> netsh interface teredo set state disabled> "D: \ Program Files (x86) \ Eclipse \ eclipse.exe"

0
source

I had the same problem. I disconnected the computer from the Internet and the problem is resolved !!! Now I am sure that this is due to one of my other programs (in my case it was a proxy device). I think this could be due to the conversion of IPv4 to IPv6 addresses or something like that.

0
source

I am using Avast Internet Security. I tried to resolve eclipse.exe through the firewall, but it still gave me an error.

I just turned off the Avast firewall, leaving the Windows firewall turned on, and it worked. I had no mistakes, and all this was a smooth swim.

This may not work for everyone, but after almost all of the solution flows (none of them worked) I just finished the third-party firewall and boom. Thar, she's blowing!

I know that the question is more than 2 years old, but I recently ran into this problem and just wanted to share my experience.

0
source

All Articles