Eclipse Android:无法打开选定的 VM 调试端口 (8700)
可能的重复:
无法打开选定的虚拟机调试端口 (8700)
我是打开 Eclipse 时在控制台上出现此错误:
“无法打开选定的 VM 调试端口 (8700)。请确保您没有运行 DDMS 或 eclipse 插件的另一个实例。如果它被其他东西使用,请在中选择一个新端口号的偏好。”
非常确定 DDMS 是 Andoid 调试器,而且我也非常确定它没有打开。有谁知道如何解决它?
Possible Duplicate:
Could not open Selected VM debug port (8700)
I am getting this error on the console when opening 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."
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果它不起作用,请尝试以下操作:
在 Eclipse 中进行以下更改。
在窗口下 ->首选项->安卓->数据管理系统:
if it doesn't work then try the following as well:
make the following changes in Eclipse.
Under Window -> Preferences -> Android -> DDMS:
它是一个 Eclipse 透视图,因此您无需启动它,只需单击 >>右上角的按钮,您可以看到其他透视图,选择 DDMS,如果您想切换回来,则将打开 DDMS 透视图,请单击 java 透视图。如果您看不到 DDMS 选项,只需转到 Windows->openPerspective->others,然后从对话框中选择 DDMS。
要激活 DDMS,您需要在调试模式下运行应用程序,然后单击 ddms,应用程序启动后您将看到所有选项。
希望这有帮助
its is a eclipse perspective so you don't need to start it just click on the >> button on the topmost right corner you can see other perspective select DDMS there DDMS perspective will open if you want to switch back click on java perspective. If you can't see DDMS option there just go to Windows->openPerspective->others and from the dialog box select DDMS.
To activate DDMS you need to run your application in debug mode and then click on ddms you will see all options once your application started.
hope this help
尝试更改运行->调试配置。它帮助我激活断点和调试。更改选项后,有一个调试按钮,单击它。它将附加调试器并启动您的应用程序。
Try by changing Run-> Debug Configuration. It helped me to activate breakpoint and debugging. After changing options there is debug button click on it. It will attach debugger and launch your application.