有谁知道是否可以在 Eclipse 中禁用 DDMS?我的意思是 DDMS 不应该在 Eclipse 启动时启动。
我只想从终端使用 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.
我更喜欢独立的 DDMS,而不是 Eclipse 内置的,主要是因为这样在 DDMS 和源代码之间切换要容易得多。而且,当 DDMS 作为 Eclipse 的插件运行时,我觉得在同一个程序中投入了太多。此外,由于 DDMS 非常不稳定并且经常崩溃,因此仅重新启动 DDMS 而不必重新启动“不太快”的 Eclipse 会更容易。
最佳答案
您必须在启动 Eclipse 之前启动 DDMS。
另外,在 Eclipse 中将调试器端口设置为类似 32767。
转到 Window -> Preferences -> Android -> DDMS 并将 Base local debugger port 设置为 32767。
关于android - 你能在 Eclipse 中禁用 DDMS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5406391/