Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)
问题描述
我在 Win7 64 位上安装了 Eclipse Indigo,并安装了 ADT 插件和 Android SDK.
I have Eclipse Indigo installed on Win7 64bit with the ADT plugin and Android SDK's installed.
当我打开模拟器并尝试启动我的测试应用程序时发生错误:
An error occurs when I have my emulator open and I try to launch my test application:
Failed to initialize Monitor Thread: Unable to establish loopback connection
我已经调查过这个错误,它通常似乎是防火墙问题,但在防火墙关闭后,我仍然收到错误消息.安装另一个基于 Eclipse 的 IDE(Aptana 3)与我有什么关系吗?
I have looked into this error and it most often appears to be a firewall issue but with the firewall turned off I still get the error. Would it have anything to do with me having another Eclipse based IDE installed (Aptana 3)?
到目前为止我尝试过的事情:
Things I have tried so far:
- 关闭防火墙
- 将 ddms 端口更改为 8601
- 检查的 localhost 设置为 127.0.01
我的想法已经不多了,因此我们将不胜感激.
I'm running out of ideas so any help of suggestions would be appreciated.
推荐答案
无需禁用 IPV6.只需强制 Eclipse 使用 IPV4.编辑 eclipse.ini 并添加最后一行:
No need to disable IPV6. Just force Eclipse to use IPV4. Edit eclipse.ini and add the last line:
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
这篇关于Eclipse:无法初始化监视器线程:无法建立环回连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse:无法初始化监视器线程:无法建立环回连接


- Eclipse 插件更新错误日志在哪里? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01