In Android API 24, custom phone 7.0.0
When I launch application in normal mode it works perfectly but whenever I switch to debug mode it shows this messages in logcat and keep showing Waiting for Debugger Dialog
.
W/ActivityThread: Application com.xxx.xxxxx is waiting for the debugger on port 8100... I/System.out: Sending WAIT chunk
What I've tried so far:
Issue : Doing Kill again and again is tedious task as this happens every time with debug mode
Issue : This works temporary again doing debug(second or third time) will give same dialog again
I can't believe a device reboot is the only solution.
The Question?
Is there any other solution to this problem?
Problem is that your app / device is configured to wait for debugger. In this case it is waiting for debugger before continuing execution of. Attach debugger or run in debug mode. You can do this in Android Studio. Buttons to attach debugger and run in debug mode are located next to normal run mode (Bug and Bug with arrow).
You need to go to "Settings" --> "Developer Options" --> "Select debug app" on you Actual Device. After clicking on "Select debug app", there will be a list of your installed apps, Select the app you want to run. That is it you will not see the "Waiting For Debugger" message any more.
This probably means the connection between the device and the debugger failed. Normally this is caused by a debugger crash on the device or a faulty cable (or bad network connection if debugging over WiFi). But if it works with AS, I'm not sure what's going on.
4) And you can also Run> Debug 'App'. The device will say "Waiting for Debugger" for a moment and then Android Studio will start up a Debugger Console and help you debug your android device app remotely! Show activity on this post. My PC was running low on memory and this problem appeared quite often.
You might have added your app in Select app to be debugged on your phone. In Settings -> Developer Options -> Select app to be debugged
To resolve this, go to Select app to be debugged and click on No apps
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With