"Waiting for debugger to attach" showing even when not running in debug mode

For me the solution was turning off the USB debugging from my device settings, and then turning it on again!

Much quicker than restart the whole device.


Make sure your java files dont have any break point and Restart the device every thing should be normal.

I was experience the same problems where my application was always being run in debug mode. Restarting the device did the trick for me.

and make sure you are using

right click on project-->>Run As -->> Android Application


I had the same problem using Android Studio. Restarting my cellphone worked for me!


1. Open setting in ur phone.

2. Go to developer options.(About Phone-> Developer Option).

3. Disable the Developer option and again enable the Developer Option.

4. Enable USB debugging and Install via USB.