Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Application is waiting for the debugger to attach

I,m working in eclipse to develop an android app and when i tried to debugged on my samsung tab, i got the following msg on its screen "Waiting for debugger" and beneath it was written "application xxx is waiting for the debugger to attach ", I did some search and found to:

  1. See target sdk

  2. Restart eclipse and device

  3. Update eclipse

  4. Uninstall app from device and install again

    I tried all this, but nothing helped. Kindly help me.

like image 757
saadsaf Avatar asked Sep 19 '13 11:09

saadsaf


People also ask

What is wait for debugger?

This setting allows the execution of an app to be paused until a debugger is attached to it, upon the launch of the app. The app to debug must first be selected using the Debug app option.

What is Android debugger attach?

Attach the debugger to a running app If your app is already running on your device, you can start debugging without restarting your app as follows: Click Attach debugger to Android process . In the Choose Process dialog, select the process you want to attach the debugger to.

How do I enable Wait for debugging?

Go to Settings > Developer options > Select debug app and choose your app from the list, then click Wait for debugger. Wait for the app to load and a dialog to appear telling you the app is waiting for a debugger.


1 Answers

In my Nexus 7 Tablet running android 4.4.2 I solved this problem by going into

  1. Settings
  2. Developer options
  3. Select Debug app
  4. was selected , Select Nothing

Done!

like image 61
silver1991 Avatar answered Sep 22 '22 05:09

silver1991