"无法初始化监视器主题:无法建立回环连接"运行Eclipse后 [英] "Failed to initialize Monitor Thread: Unable to establish loopback connection" after running Eclipse
问题描述
我有一个问题,当我想开始开发Android应用程序,我所做的一切都像在手动这里但在Eclipse安装ADT插件之后,我仍然得到这个错误:
[2011-12-29 14点34分56秒 - DDMS]无法初始化监视器主题: 无法建立回环连接
那么,如果我尝试运行应用程序此出现:
[2011-12-29 14点41分42秒 - TestApp] ------------------------------ [2011-12-29 14时41分42秒 - TestApp] Android的推出! [2011-12-29 14时41分42秒 - TestApp]亚行连接被中断。 [2011-12-29 14时41分42秒 - TestApp] 0已经尝试重新连接。 [2011-12-29 14时41分42秒 - TestApp]您可能需要手动重新启动从设备来看,亚行
没有必要关闭tredo界面:
只需添加 -Djava.net preferIPv4Stack = TRUE
在的eclipse.ini
:
中openFile
-vmargs
-Djava.net。preferIPv4Stack =真
I have a problem, when I want to start developing applications for android, I did everything like in manual here but after installing ADT Plugin in Eclipse I am still getting this error :
[2011-12-29 14:34:56 - ddms] Failed to initialize Monitor Thread: Unable to establish loopback connection
then, if I try to run an application this appear :
[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.
No need to turn off tredo interface:
simply add -Djava.net.preferIPv4Stack=true
in eclipse.ini
:
openFile
-vmargs
-Djava.net.preferIPv4Stack=true
这篇关于"无法初始化监视器主题:无法建立回环连接"运行Eclipse后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!