当前位置: 代码迷 >> 综合 >> 安装了ADT 插件的Eclipse 启动时会报Failed to initialize Monitor Thread 这样的错误
  详细解决方案

安装了ADT 插件的Eclipse 启动时会报Failed to initialize Monitor Thread 这样的错误

热度:56   发布时间:2023-12-06 22:23:04.0
[ddms]Failed to initialize Monitor Thread: Unable to establish loopback connection,多半是防火墙引起
2011-01-25 10:18

[@@@ddms]Failed to initialize Monitor Thread: Unable to establish loopback connection

出现类似如下问题:

安装好SDK和ADT之后启动eclipse3.4.1报错:控制台一直打印 k-*k ' S_ 
biV |W @JM 
[2009-01-07 17:22:38 - ddms]Checking 'D:\google\tool\android-sdk-windows-1.0_r2\tools\adb.exe version' )(' {q}JxV 
[2009-01-07 17:22:38 - ddms]Monitor is up ;F, 6]LH! 
[2009-01-07 17:22:38 - ddms]Failed to initialize Monitor Thread: Unable to establish loopback connection y f S  
[2009-01-07 17:22:38 - adb]Android Debug Bridge version 1.0.20 s5d[ sx 
[2009-01-07 17:22:38 - ddms]Launching 'D:\google\tool\android-sdk-windows-1.0_r2\tools\adb.exe start-server' to ensure ADB is running.

[2009-01-07 17:22:38 - ddms]'adb start-server' succeeded

[2009-01-07 17:22:38 - DeviceMonitor]Opening adb connection

[2009-01-07 17:22:38 - DeviceMonitor]Connecting to adb for Device List Monitoring...

[2009-01-07 17:22:38 - DeviceMonitor]Connection attempts: 1

[2009-01-07 17:22:39 - DeviceMonitor]Opening adb connection

[2009-01-07 17:22:39 - DeviceMonitor]Connecting to adb for Device List Monitoring...

[2009-01-07 17:22:39 - DeviceMonitor]Connection attempts: 2

综合以下现象:

1.只要打开的eclipse项目中包含android的(而非运行状态),系统就会自动启动,进程adb.

应该是eclipse的ide有调用android的ddms引起的吧

原因:多半是防火墙造成的.

 

本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/fjfdszj/archive/2010/10/19/5950611.aspx

 

我的系统是WIN7,只需关闭了 WINDOWS FIREWALL 服务就可以了。见附件。

 

 

 

  • 大小: 167.6 KB
  • 查看图片附件
  相关解决方案