win7 eclipse: Could not open Selected VM debug port (8700)

在尝试使用Eclipse和AVD插件安装Android环境时,遇到了一个错误:无法打开选中的VM调试端口(8700)。文章通过检查端口使用情况、hosts文件等方法,最终发现并解决了这一问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

After having checked out the BB (which I'd like to revisit with OS6) as well as some iPhone development (ergLog) I'm turning my attention to Android. I'll document some of the troubles and hopefully solutions I've found along the way.

 

 Problem #1

After successfully installing Eclipse and AVD plugin I received the following error when restarting 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"

Every response to this issue was something along the lines of "well, see what's using that port and kill it/change the port". So let's check that just to make sure the port isn't in use. (NOTE: I'm using Windows)

 From the cmd console:

>telnet localhost 8700 

Can't connect? Me either, so port 8700 isn't in use. Let's just be sure:

>netstat -an

Can't see port 8700 in use? Me either. So it seems as though the error description is a bit misleading. Next have a peek at your hosts file (C:\Windows\System32\drivers\etc\hosts). Did you do the same thing as me? Several months ago I pointed localhost to another one of my machines while testing something out... and completely forgot about it! 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值