开发者

Android Release Version and "Waiting for Debugger"

I know this has been asked befo开发者_StackOverflowre but I still don't have a solution. My first app: developed and debugged on my moto droid and then followed all the release steps, (exported from Eclipse, using my key to sign) including removing the debug in the manifest xml.

I copied the resulting apk to the droid, disconnected the usb and installed it by double clicking on the file using Astro.

I get the "Waiting for Debugger" message like when I am debugging but it never goes away.

Doing something real stupid I know but I can't figure it out. Any help would be appreciated. Thanks, Tom


Yes, restart your phone. It worked for me.


I just restart my phone and the problem is solved :)


Have you looked at this? http://groups.google.com/group/android-developers/browse_thread/thread/bdf61367c8649f4a

Or http://groups.google.com/group/android-beginners/browse_thread/thread/4a46c34d799f95dd

It sounds like the phone's global debug flag is on and you can change that with the DevTool


For those getting this annoying behavior in 4.2.2 you have to un-check the setting for "wait for debugger" in the developer options. Of course, those options were hidden by Google, and you have to do a sneaky trick to get them to show back up. I had set them before they disappeared, and couldn't for the life of me find them again.

This page explains the procedure


Restarting works in most cases. and it worked for this case. Thanks buddy.


Just deactivate the USB debugger functionality on your device when you want to test your installed APK. I just did it and it works.


Great, Development.apk is the solution.
Download it from http://bozosort.com/content/2009/10/android-devtools-app/

OK. I think that it works because that Development.apk resetting debug flag of my gphone, or may also because i restart my phone after i install Development.apk.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜