[ddms]Failed to initialize Monitor Thread: Unable to establish loopback connection,多半是防火墙引起的

时间:2021-01-18 18:57:37

[@@@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 fS  
[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. ^=cX L  
[2009-01-07 17:22:38 - ddms]'adb start-server' succeeded b;mpZ|T.  
[2009-01-07 17:22:38 - DeviceMonitor]Opening adb connection }2?- kj7  
[2009-01-07 17:22:38 - DeviceMonitor]Connecting to adb for Device List Monitoring... p_3VFKq>0  
[2009-01-07 17:22:38 - DeviceMonitor]Connection attempts: 1 <l9qhqHv&  
[2009-01-07 17:22:39 - DeviceMonitor]Opening adb connection 9EZh~tdV[  
[2009-01-07 17:22:39 - DeviceMonitor]Connecting to adb for Device List Monitoring... N;,N6&veK/  
[2009-01-07 17:22:39 - DeviceMonitor]Connection attempts: 2 0ipYXbC  

综合以下现象:

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

 

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

 

 

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