启动错误:无法连接到远程VM [英] Launch error: Failed to connect to remote VM
问题描述
可能重复:
Eclipse错误:无法连接到远程虚拟机
我正在使用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 - Sunrise]开始活动
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]
尝试将调试器连接到'com .sr.sunrise'on port 8614
[2011-08-26 12:00:00 - Sunrise]启动错误:无法连接到
远程VM
[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
我已经跟随了许多搜索(包括这个
StackOverflow.com链接
和此
StackOverflow.com link2
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 ;-)
推荐答案
这只适用于我:
- 关闭Eclipse。
- 删除USB。
- 转到任务管理器,并删除所有eclipse.exe(在我的情况下,我有4-5个实例)。
- 还要删除'adb.exe'。
- 重启Eclipse。
- 重新连接USB。 >
- Close Eclipse.
- Remove USB.
- Go to task manager, and delete all 'eclipse.exe' (in my case I had 4-5 instances).
- Also delete 'adb.exe'.
- Restart Eclipse.
- Reconnect USB.
也许这将适用于有同样问题的其他人。
Maybe this will work for others who have the same problem.
这篇关于启动错误:无法连接到远程VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!