打開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
相關文章
相關標籤/搜索