Why Android Studio says "Waiting For Debugger" if am NOT debugging?

waiting for debugger android studio
android studio debugger freezes
android studio set breakpoint
debug kotlin android studio
android studio debug apk
android studio debug on device
android studio emulator console
android studio debugger not working

I am working with Android Studio. Since last night, when I Run my project on my device, appear the message "Waiting For Debugger". It is a very strange behavior because I am not debugging application.

I've tried to uninstall application from my device and press Run on Android Studio. The message appears again.

I've tried to restart Android Studio. The message appears again.

The only way to properly install application on my phone is to press "Debug". The message appears but its automatically closed. Then application works fine.

I've tried with

<application android:debuggable="false" />

... and still the message appears.

LogCat says:

E/InputDispatcher﹕ channel ~ Channel is unrecoverably broken and will be disposed!
E/Launcher﹕ Error finding setting, default accessibility to not found: accessibility_enabled

Regards on first error line, someone says that the problems can starts after renaming of some resource. But its not my case.

Regards on second error line, ... I don't know. I really don't know what happens to my IDE.

I've ran into this issue in the past and again today. In my case the problem is resolved by a device reboot. After a clean boot I can again run the application and the "Waiting for Debugger" prompt does not appear.

Known issues with Android Studio and Android Gradle Plugin, To fix this issue, upgrade to Android Studio 3.6.1. Key mapping conflicts on Linux. On Linux, certain keyboard shortcuts conflict with default Linux keyboard  In case you want to go with Android Studio, no need to worry about being stuck with Gradle system because it is really good. Eclipse uses Apache Ant as its prime build system that is an extremely robust XML based build system and lots of Java developers have been already familiar with it.

You can fix this issue without re-booting your device. Just go to "Android device"->"Settings"->"Developer Options"->"Select app to be debugged". It will likely be pointing to your application. Just select the option and then select "None".

Note: As mentioned, even if "None" is already selected, re-selecting "None" appears to correct the problem.

Just to be clear: This is on the device, not in Android Studio (cf. very helpful comment from Regis_AG).

Why is Android Studio still such a gruesome embarrassment , One problem, of course, is that Android Studio was not built from scratch; Of late, though, I say with a kind of skeptical anticipation, for the first  Android Studio says: “No device connected” yet I already tried many possible solutions. Running Windows 7, and I have just downloaded the latest Android Studio version, and started a project. Now I'd like to test the application on my device but Android Studio says on the bottom left "No devices connected".

faster than rebooting is Just go to developer options and switch it off and on again (dont forget to check usb debugging option too), worked for me(Neuxs5).

What is the use of Android studio?, developers, including rich code editing, debugging, testing, and profiling tools. The emulator that comes with Android Studio swallows up lots of resources on your development computer. If you’re like a lot of developers and don’t always have the latest, most powerful hardware, you may have trouble running apps in the emulator. If, after five minutes or so, you don’t see Android’s home screen and you …

After 8 hours on this problem I feel obliged to share the cause. My /etc/hosts was bad.

Make sure you can ping localhost and that it is defined to 127.0.0.1. AS expects to connect to localhost:8600.

Debugging with Android Studio stuck at "Waiting For Debugger , We have decided to upgraded from Android Studio 3.0.1 to it Vortana Say · Follow Let us begin with Android Studio 3.1. new main features:. Android Studio also still hates any source code that was even touched by maven (because all it seems to want to deal with is gradle --it offers to re-wrap all maven related source code in gradle at which point the project won't come up at all --real helpful, NOT!).

1) Clear android studio cache memory from file->Invalid cache/restart.


2) After restarting the android studio please restart android emulator.

Is android studio good for beginners?, I have experienced such a problem which is Android Studio says project is already on GitHub. Even i deleted the whole repository on GitHub but still i could not  If your Android app crashes, then because of an uncaught RuntimeException like a NullPointerException. In this video we will learn, how to read the Logcat stack trace to find out what exception

Is there any software other than Android Studio that I can use to , I have also heard that Android Studio is faster than command line. can ignore the message that says “To use the same Gradle daemon…select JAVA_HOME. I am working with Android Studio. Since last night, when I Run my project on my device, appear the message "Waiting For Debugger". It is a very strange behavior because I am not debugging application. I've tried to uninstall application from my device and press Run on Android Studio. The message appears again. I've tried to restart Android Studio.

Android Studio 3.x.x, I cloned the repository and I tried to open it with Android studio and got nowhere, what is a proper way to open this project with android studio  Android Studio does not install system images for multiple Android versions by default. How to Convert Any Website into Android Application in Android Studio - Duration: 16:58. Karthik M

Android Notes 10 : Android Studio Project says project is already on , In Android Studio troubleshooting device connections, it says found 6 usb devices not recognized as android devices and among it is my  Check that Android Studio can connect to the Android Emulator. To check if the issue is being caused by a connection problem between Android Studio and the Android Emulator, follow these steps: Open the AVD Manager. Create a new AVD if you don't already have one. Run the emulator using your AVD.

Comments
  • I faced with this problem once. My problem is not on the Android Studio but in my device. I remove the application in Settings->Development settings->debug applications, and it runs. I don't know if your problem is the same at mine.
  • Strange behavior. Ys, now it works. jajaj I have selected just my application and it works. Very very very strange behavior.
  • This is an issue with the Android device. Turn off and turn on the "USB Debugging" option from the Developer Options settings menu. Also make sure "Select debug app" has nothing selected.
  • My Developer Mode is on and Debugging Mode is On too. But, my alcatel onetouch flash plus (one) is not working. But same preferences is working at my Lenovo A706. I have reboot alcatel, but not working.
  • I down voted this because although it works, so does @CodyF's answer below and it's much quicker. CodyF's should be the approved answer.
  • device reboot & exited (and restarted) all Android Studio instances - worked for me
  • by the way - 5 YEARS LATER THIS IS STILL AN ISSUE ?!?!
  • Yes, this worked great for me. Even though it didn't say that my app was being debugged, selecting "None" for the choice fixed this super-annoying problem.
  • @ShawnLauzon was right. Even it shows "None", just select None again.
  • Selecting none didn't work for me at first. I had to select an app, then select none and then it worked. .... I love technology
  • Just to be more specific : this "Developer options" menu is in your Android phone (or simulator) settings. Not in Android Studio !
  • Three years later, on a Pixel 2 XL, this is still the case. What the ****?
  • This answer should the accepted one since it's much faster than rebooting the device. Worked for me on Nexus 4.
  • I tried this first but in my case a full reboot was required. (Android Studio 2.1.2)