Dipali Shah
Dipali Shah

Reputation: 3798

Why is the app keeps waiting for Debugger?

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

enter image description here

What I've tried so far:

  1. Android Studio "waiting for debugger"

Issue : Doing Kill again and again is tedious task as this happens every time with debug mode

  1. Why is the app waiting for the debugger when its not connected to computer?

Issue : This works temporary again doing debug(second or third time) will give same dialog again

  1. Debugging with Android Studio stuck at "Waiting For Debugger" forever

I can't believe a device reboot is the only solution.

The Question?

Is there any other solution to this problem?

Upvotes: 9

Views: 5121

Answers (2)

mahmoud mansour
mahmoud mansour

Reputation: 557

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

Upvotes: 8

Nguyễn Văn Linh
Nguyễn Văn Linh

Reputation: 398

I think you enable Select debug app in Developer Options. Try go Setting - > Developer Options -> TurnOf Debug.

Upvotes: 0

Related Questions