Reputation: 725
After I started to use debugging with attaching debugger in Android Studio, I cannot install standalone package - it says "Waiting for debugger to attach" ! I cannot run program in another way, rather than from Android Studio itself! Same thing happens, if I press "Run" - than, even worse, it is waiting for debugger that is not even going to attach...
Note: I have also seen this question: How to stop debug without closing app in Android Studio 2 - However, in my case there is no stop button! I just disconnect
Upvotes: 5
Views: 1531
Reputation: 904
Do one of either:
You have either accidentally set a breakpoint by misclicking either Ctrl + F8 or simply left clicking the line-count. So look through your code for that.
You have selected an app to be debugged. Go to your phone's settings -> Developer Options -> Select app to be debugged -> No apps. This will clear it.
Restart your phone.
Uninstall your apk and reinstall it fresh again.
Upvotes: 4