HardBirch

Application always show “waiting for debugger” on device

时间:13-03-21 栏目:android学习笔记 作者:魔豆先生 评论:0 点击: 9,911 次

问题:

I'm working on an app and I've been able to successfully debug it using the device. I have a crudely working version of the app and I wanted to test it out on the phone, show it to friends and get opinions. The problem is, after doing adb install I now have the icon on my phone but when I try to launch it, it gives me the "Waiting For Debugger the process is waiting for the debugger to attach" message. I have removed the 'debug=true' flag in the application manifest and also turned off usb debugging on the phone. Why is the application thinking I'm still debugging it? What do I need to do to be able to run it without having debugger on eclipse attached?

解决方案:

1) In eclipse -> go to the debug perspective

2) When the app is running -> press the "Disconnect" button (next to the "stop")

3) Turn off your phone.

4) Remove the battery for 30 sec

5)Check the project mini-SDK version, if it higher than sdk on handset, which will not been shown in dialog!

 

 

 

声明: 本文由( 魔豆先生 )原创编译,转载请保留链接: Application always show “waiting for debugger” on device

Application always show “waiting for debugger” on device:等您坐沙发呢!

发表评论


QQ群互动

Linux系统与内核学习群:194051772

WP建站技术学习交流群:194062106

魔豆之路QR

魔豆的Linux内核之路

魔豆的Linux内核之路

优秀工程师当看优秀书籍

优秀程序员,要看优秀书!

赞助商广告

友荐云推荐