2014-10-29 99 views
1

在IntelliJ中,你可以配置调试端口吗?由于其ADB以下错误的记录片如何配置IntelliJ的调试端口?

ddms: 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. 

我一直在寻找的首选项和菜单项,但没有这个设置的标志。我使用的是13.1版本。在DDMS首选项中,我将端口设置为8601,因此这个8700值必定来自IntelliJ。但如何找到它?

下面是我的“运行配置”对话框的图像(对于询问它的人)。

enter image description here

回答

-1

采取运行配置对话框,你有你的应用程序运行的定义看看。然后找到“远程”部分。

编辑配置 - >添加“远程”

Edit configurations dialog

+0

请你具体如何找到这个“调试节”?我应该做些什么特定的点击(菜单项,按钮等)才能进入设置? – Alyoshak 2014-12-09 19:35:05

+0

对不起,起初并不了解它是关于android的。你尝试过Android Studio吗?这是适用于Android开发的IDEA。昨天是1.0版本。在那里检查。 – 2014-12-10 15:48:03

+0

我确实已经转移到Android Studio,但对于那些仍在使用IntelliJ的人来说,这个问题可能确实有用。 – Alyoshak 2015-01-06 21:17:48