Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When I debug my application I get frequently Launch error: Failed to connect to remote VM [duplicate]

Possible Duplicate:
Eclipse Error: “Failed to connect to remote VM”

When I debug my application I get frequently Launch error: Failed to connect to remote VM even If I try again it doesn't help, I need to restart Eclipse.

Edit
Not sure yet fully if the symptoms have to do with the fact that I get this error only when I launch Debug without a code modification. Whenever I do a modification to the source code and hit Debug it goes through, but if I don't it doesn't.

like image 743
Pentium10 Avatar asked Oct 25 '22 15:10

Pentium10


2 Answers

I think this is a bug in the eclipse plugin, just make a modification to the code and it will work.

like image 56
fedj Avatar answered Nov 15 '22 05:11

fedj


I solved this problem by resetting ADB in eclipse. Try the following:

  1. Disconnect the device from USB.
  2. Select the DDMS Perspective in Eclipse.
  3. On the Devices tab of the perspective, select the menu then reset ADB.
  4. Reconnect the device.
like image 42
meteorman Avatar answered Nov 15 '22 07:11

meteorman