Android Studio 2.0 "waiting for a debugger to connect"

Since I upgraded Android Studio to 2.0, I was not able to debug. It hangs with a “wait for debugger attach” on the screen. You do not know why this is happening?

+2
android android-studio adb android-debug
May 01 '16 at 5:21
source share
3 answers

Updating Android Studio 2.0 to version 2.1 solved the problem.

-3
May 01 '16 at 8:29
source share

This is a common scenario. Reboot your Android studio and reconnect your device.

I had the same problem, except that I worked with it using the Android emulator. I realized that if you put the computer into sleep mode when Android Studio or the emulator is running, it will ruin the connection between them. My problem disappeared after restarting both, emulator and Android Studio.

+1
May 01 '16 at 6:37 a.m.
source share

Removing the Intellij IDEA (Android Studio) .idea directory that contains configuration information worked for me:

  • Quit Android Studio
  • Go to the project you are trying to debug
  • Backing up any files inside .idea that you changed (if your project checks any of them in VCS)
  • Delete .idea directory
  • Open a project in Android Studio
+1
Jan 17 '17 at 0:10
source share



All Articles