9

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?

4
  • Is the app stucked on this screen ? It normally disappears after a few seconds Commented Jan 31, 2018 at 13:40
  • @ArthurAttout, It doesn't until and unless I restart the device. Commented Feb 1, 2018 at 4:22
  • Did you try adding SET_DEBUG_APP in permissions ? Commented Feb 1, 2018 at 18:11
  • What was the solution? Commented Feb 11, 2018 at 7:24

2 Answers 2

8

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.