7

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?

Dipali Shah
  • 3,355
  • 28
  • 46

2 Answers2

6

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

mahmoud mansour
  • 467
  • 5
  • 3
0

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