Eclipse Android:无法打开所选的VM调试端口(8700) [英] Eclipse Android: Could not open Selected VM debug port (8700)

查看:691
本文介绍了Eclipse Android:无法打开所选的VM调试端口(8700)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

无法打开所选的VM调试端口(8700)

打开 Eclipse 时,我在控制台上收到此错误:

I am getting this error on the console when opening Eclipse:


无法打开所选的VM调试端口(8700)请确保您没有>另一个DDMS或eclipse插件的实例运行,如果它被别的东西使用,请选择一个新的端口号在偏好。

"Could not open Selected VM debug port (8700). Make sure you do not have >another instance of DDMS or of the eclipse plugin running. If it's being >used by something else, choose a new port number in the preferences."

很确定 DDMS 是Andoid调试器,我也很确定它没有打开。有谁知道如何解决?

pretty sure DDMS is the Andoid debugger, and I am also pretty sure it is not turned on. Does anyone know how to solve it?

推荐答案

the window Host file that is messed up:
the file is at this place :
C:\WINDOWS\system32\drivers\etc

And should contain this line : 127.0.0.1 localhost

如果它不工作,那么尝试以下操作:
在Eclipse中进行以下更改。

if it doesn't work then try the following as well: make the following changes in Eclipse.

在窗口 - >首选项 - > Android - > DDMS:

Under Window -> Preferences -> Android -> DDMS:

* Set Base local debugger port to "8601"
* Check the box that says "Use ADBHOST" and the value should be "127.0.0.1"

这篇关于Eclipse Android:无法打开所选的VM调试端口(8700)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆