Debugging with Android Studio stuck at “Waiting For Debugger” forever

前端 未结 29 2231
甜味超标
甜味超标 2020-12-04 08:36

UPDATE The supposed duplicate is a question on being stucking in \"Waiting For Debugger\" when executing Run, while this

相关标签:
29条回答
  • 2020-12-04 09:13

    I just managed this problem, after several days of trying the above solutions. So I closed the emulator, run AVD manager and in device menu choose - "wipe data" So in next run I was free from stucked debugger.

    0 讨论(0)
  • 2020-12-04 09:14

    If all else fails, try "Clean Storage" via the app's System Settings.

    0 讨论(0)
  • 2020-12-04 09:15

    After click on run icon. If it stuck at waiting for debugger means it is not attached to the app. You have to manually attach by clicking on Attach Debugger to Android process. It is on the right side of run icon. I had focus this icon in linked image.

    0 讨论(0)
  • 2020-12-04 09:15

    I had the same problem. Restart my android device and closed the adb.exe process. With that I could solve the problem

    0 讨论(0)
  • 2020-12-04 09:15

    It has happened to me that it stayed stuck in "Waiting for Debugger" when accidentally I tried to Debug a Release build, sometimes it warns that it is not a debug build and others it silently stucks in "Waiting for Debugger".

    The solution is obviously to switch to Debug build

    0 讨论(0)
  • 2020-12-04 09:17

    Restarting everything didn't work for me. What DID work was waiting for a few minutes while Android Studio unclogged itself. This was the first time I ran the debugger; after that, Android Studio fired up the debugger quickly.

    0 讨论(0)
提交回复
热议问题