Could not open Selected VM debug port (8700)

Could not open Selected VM debug port (8700)_第1张图片

在运行项目的时候,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.

在终端输入:netstat -ano | findstr "8700"

未找到占用端口。

解决方法:

在eclipse中,依次打开Window -> Preferences -> Android -> DDMS:如下图

把Base local debugger port 8600 修改为8601,并勾选Use ADBHOST。

Could not open Selected VM debug port (8700)_第2张图片

参考:

http://stackoverflow.com/questions/4045645/eclipse-android-could-not-open-selected-vm-debug-port-8700

你可能感兴趣的:(android开发)