应用程序未连接到计算机时,为什么要等待调试器? [英] Why is the app waiting for the debugger when its not connected to computer?

查看:178
本文介绍了应用程序未连接到计算机时,为什么要等待调试器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎我在Android世界中迈出的每一步都遇到了问题.

It seems like every step I take in the Android world I run into problems.

通常,我通过USB将HTC Hero连接到计算机,然后以调试模式或正常模式启动该应用程序.

Usually, I have my HTC Hero connected to the computer via USB and I launch the application either in debug mode or in normal mode.

因此,我上次在正常模式下运行该应用程序.然后,我断开设备连接(我想尝试使其免费",而不是连接到计算机),然后从菜单中启动该应用程序.当我这样做时,我会弹出一个对话框,说"Application xxx正在等待调试器附加",然后它停止并最终死亡.

So, the last time I ran the app in normal mode. Then I disconnect the device (I want to try to have it "free", not connected to computer) and I start the app from the menu. When I do that I get a popup saying "Application xxx is waiting for the debugger to attach" and there it stops and eventually dies.

为什么它在等待调试器,当我上次运行应用程序(连接时)却没有将其作为调试程序运行?

Why is it waiting for the debugger, when the last time I ran the app (while connected) I didn't run it as Debug?

我可能会添加一个奇怪的事实:

I might add this little weird fact:

如果在连接设备时执行运行"(绿色/白色箭头),则设备上仍会弹出一个窗口,提示应用程序xxx正在等待调试器连接".

If I do "Run" (green/white arrow) when the device is connected I still get a popup on the device saying "Application xxx is waiting for the debugger to attach".

找到了页面.他重新启动了设备,这对我也很有效.愚蠢的不要马上尝试...

Found this page. He restarted his device and that worked for me too. Stupid not to try that right away...

推荐答案

只需关闭此问题:我重新启动了设备,这很有帮助.

Just to close this question: I restarted the device, and that helped.

这篇关于应用程序未连接到计算机时,为什么要等待调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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