开发者

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

开发者 https://www.devze.com 2022-12-30 11:03 出处:网络
This question already has answers here: Closed 10 years ago. Possible Duplicate: Eclipse Error: “Failed to connect to remote VM”
This question already has answers here: Closed 10 years ago.

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 开发者_C百科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.


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


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.
0

精彩评论

暂无评论...
验证码 换一张
取 消