Could not open Selected VM debug port (8700)

Posted by John Gaby on Stack Overflow See other posts from Stack Overflow or by John Gaby
Published on 2010-05-10T04:53:38Z Indexed on 2010/05/10 4:58 UTC
Read the original article Hit count: 775

Filed under:
|

I am trying to debug the android source using Eclipse by following the instructions found at:

http://source.android.com/using-eclipse

I have downloaded the source, and gotten it to build. I follow the directions in the link above and everything is fine until I run the ddms command. At this point, if Eclipse is running I get the error 'Could not open Selected VM debug port (8700)'. If I close Eclipse, then ddms runs with no problem, and I can the the processes on the emulator. However, if I now open Eclipse, I get the same error.

In any case, no matter what I do, if I attempt to remote debug, it always fails with 'Failed to connect to remote VM'.

Any ideas?

Thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about remote-debugging