Eclipse IDE:安装 Android SDK 后无法初始化监控线程错误?

2022-01-16 00:00:00 android eclipse-plugin eclipse

我刚刚为 Eclipse 安装了 android SDK 插件,每当我启动我的 IDE (eclipse) 时,我都会收到错误警报 无法初始化监视器线程.无法建立环回连接".然后在控制台中,它会重复连接尝试,看起来像这样 [2011-09-04 16:21:53 - DeviceMonitor]Connection attempt: 37 一遍又一遍(有 36 条这样的消息在控制台中,即第 37 个).

I just installed the android SDK plugin for Eclipse and whenever I start my IDE (eclipse) I get the error alert "failed to initialize monitor thread. Unable to establish loopback connection". Then in the console, It goes onto repeated connection attempts that look like this [2011-09-04 16:21:53 - DeviceMonitor]Connection attempts: 37 Over and over (there were 36 of these messages in the console, that is the 37th).

我的 IDE 是 eclipse classic (helios).我已经用新版本 3.7 (indigo) 进行了尝试,但出现了同样的错误.

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

我一直在努力解决这个问题.我已经完成了所有的谷歌搜索等已经快 3 周了,但我无法找到解决这个问题的答案......

I've been trying to work this out. It has been almost 3 weeks I've done all the googling research etc but I've not been able to find an answer that resolved this...

推荐答案

我遇到了同样的问题,原因是 Java JDK 错误.如果你已经安装了Java JDK 7,首先卸载它并重新安装JDK 6 -> 下载链接.

I had the same problem and the reason was a wrong Java JDK. If you have installed the Java JDK 7, uninstall it at first and reinstall the JDK 6 -> download link.

如果你只是下载 JDK 6 并设置 JAVA_HOME 路径,我不知道它是否有效.我卸载了JDK 7,因为我不再使用它了.

I don't know if it works if you just download the JDK 6 and set the JAVA_HOME path to it. I uninstalled the JDK 7, because I didn't use it anymore.

相关文章