eclipse 为什么会出现这个错误“”emulator-5554 disconnected!取消'com.helloG.CalculatorActivity 活动启动'!”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7359567/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:58:06  来源:igfitidea点击:

why this error occurs ""emulator-5554 disconnected! Cancelling 'com.helloG.CalculatorActivity activity launch'!"

androideclipse

提问by Engr M Hassan

Possible Duplicate:
Why do I get a emulator-5554 disconnected message

可能重复:
为什么我会收到 emulator-5554 断开连接的消息

this error appears sometimes and sometimes my program run. "emulator-5554 disconnected! Cancelling 'com.helloG.CalculatorActivity activity launch'!" i do not understand why this happens,......:( please help me. my code is accurate by the way.

这个错误有时会出现,有时我的程序会运行。“emulator-5554 断开连接!取消'com.helloG.CalculatorActivity 活动启动'!” 我不明白为什么会这样,......:( 请帮助我。顺便说一下,我的代码是准确的。

回答by Yashwanth Kumar

you have to reset your adb. go to Eclipse IDE-->window--> Show Views --> device--> view menu --> reset adb

你必须重置你的adb。转到Eclipse IDE-->窗口-->显示视图-->设备-->视图菜单-->重置adb

回答by Bercik

Try this post, adb commands

试试这个帖子,adb 命令

navigate to android-sdk/tools/

导航到 android-sdk/tools/

and write 'adb reset' should work :D

并写'adb reset'应该可以:D