启动错误:无法连接到远程VM [英] Launch error: Failed to connect to remote VM

查看:1804
本文介绍了启动错误:无法连接到远程VM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/975384/eclipse-error-failed-to-connect-to-remote-vm\">Eclipse错误:&ldquo;无法连接到远程VM&rdquo;的

我使用Eclipse动用我的脚趾到Android开发。一切正常,但最近,我不能够再使用调试。当我点击'调试至于 - Android应用程序,应用程序构建好了,安装好,但Android设备(无论是实际的设备或模拟器,它使没有区别)与等待调试器跟单强制关闭按钮等待。在控制台中,我得到的东西,如: -

I am using Eclipse to dip my toe into Android development. All going well but recently, I am not able to use debug anymore. When I click 'Debug As' - 'Android Application', app builds ok, installs ok but Android device (either actual device or emulator, it makes no difference) waits with 'Waiting For Debugger' with a single 'Force Close' button. In the console, I get something like:-

[2011-08-26 11:59:59 - 日出]启动活动
  com.sr.sunrise.Sunrise设备上3833CB14F52C00EC [2011-08-26 11:59:59
   - 日出] ActivityManager:首发:意向{
  ACT = android.intent.action.MAIN猫= [android.intent.category.LAUNCHER]
  CMP = com.sr.sunrise / .Sunrise} [2011-08-26 12:00:00 - 日出]
  试图调试器连接到com.sr.sunrise在端口8614
  [2011-08-26 12:00:00 - 日出]启动错误:无法连接到
  远程虚拟机

[2011-08-26 11:59:59 - Sunrise] Starting activity com.sr.sunrise.Sunrise on device 3833CB14F52C00EC [2011-08-26 11:59:59 - Sunrise] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.sr.sunrise/.Sunrise } [2011-08-26 12:00:00 - Sunrise] Attempting to connect debugger to 'com.sr.sunrise' on port 8614 [2011-08-26 12:00:00 - Sunrise] Launch error: Failed to connect to remote VM

我跟了很多搜索(包括本
<一href=\"http://stackoverflow.com/questions/4268958/hello-world-tutorial-using-the-debug-perspective\">StackOverflow.com链接
和这个
<一href=\"http://stackoverflow.com/questions/2814675/when-i-debug-my-application-i-get-frequently-launch-error-failed-to-connect-to-r\">StackOverflow.com链接2

I have followed many searches (including this one StackOverflow.com link and this StackOverflow.com link2

和我已经尝试了许多建议,但一切都还没有修复这个问题。

and I have tried many suggestions but nothing has fixed this problem yet.

谁能帮助我,这是现在从创建我的杰作阻止我; - )

Can anyone help me as this is now stopping me from creating my masterpiece ;-)

推荐答案

这只是为我工作:


  1. 关闭Eclipse。

  2. 删除USB。

  3. 进入任务管理器,并删除所有的eclipse.exe(在我的情况我有4-5的例子)。

  4. 也删除'adb.exe。

  5. 重新启动Eclipse。

  6. 重新连接USB。

这也许会为其他人谁也有同样问题的工作。

Maybe this will work for others who have the same problem.

这篇关于启动错误:无法连接到远程VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆