DDMS启动出现“Failed to initialize Monitor Thread: Unable to establish loopback connection”错误的解决方法


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

出错的解决办法:

problem in IPv6 enabled:change last string in ddms.bat

call %java_exe% %java_debug% -Dcom.android.ddms.bindir=%prog_dir% -classpath "%jarpath%;%swt_path%\swt.jar" com.android.ddms.Main %*

after %java_debug% add following

-Djava.net.preferIPv4Stack=true

for eclipse change eclipse.ini:

 openFile -vmargs -Djava.net.preferIPv4Stack=true

你可能感兴趣的:(DDMS启动出现“Failed to initialize Monitor Thread: Unable to establish loopback connection”错误的解决方法)