打开eclipse提示:“Failed to initialize Monitor Threa...

今天突然遇到这个问题,很奇怪,上周五还好好的,周末没有打开过eclipse。

百度了一下,答案都千篇一概,提示关掉防火墙,重启adb,可是我试了,对我都没有效果。
后来在http://stackoverflow.com上面找到了这个问题,按照建议作,果真好了。 java

疑问:
虽然暂时没有问题了,可是我仍是不明白为何会这样,期待有经验的的高手们路过的时候给点参考。
android

下面是http://stackoverflow.com上的问题和解决方法,可能不必定能解决全部的该类问题,可是贴出来,但愿有点帮助。 app

问题: eclipse

I have a problem, when I want to start developing applications for android, I did everything like in manualhere but after installing ADT Plugin in Eclipse I am still getting this error : oop

[2011-12-29 14:34:56 - ddms] Failed to initialize Monitor Thread: Unable to establish loopback connection this

then, if I try to run an application this appear : spa

[2011-12-29 14:41:42 - TestApp] ------------------------------ [2011-12-29 14:41:42 - TestApp] Android Launch! [2011-12-29 14:41:42 - TestApp] Connection with adb was interrupted. [2011-12-29 14:41:42 - TestApp] 0 attempts have been made to reconnect. [2011-12-29 14:41:42 - TestApp] You may want to manually restart adb from the Devices view. .net

解决方法:

No need to turn off tredo interface: simply add -Djava.net.preferIPv4Stack=true ineclipse.ini: rest

 openFile -vmargs -Djava.net.preferIPv4Stack=true
相关文章
相关标签/搜索