0

When trying to debug an app in android studio when I press the debug button it builds and installs the app but it displays 'waiting for debugger' on phone/tablet I'm trying to debug my app on, I have to connect the debugger through studio using the 'attach debugger to app' button rather than just automatically attaching the debugger and running. I know it sounds like a small problem but when you are doing this a lot it takes a lot of your time that could be spent debugging the app or writing feature code!

Running Android Studio 2.3 Beta 3 and Java 8

SBC
  • 112
  • 7
  • Possible duplicate of http://stackoverflow.com/questions/4375375/how-to-resolve-waiting-for-debugger-message – Shreyash S Sarnayak Feb 14 '17 at 18:04
  • This is not a new problem with the app, it has worked perfectly fine for at least three years without having this happen, so the solution posted in the post you say is a duplicate does not work. And one of the solutions in your 'duplicate question' is the exact workaround I don't want to have to do everytime – SBC Feb 14 '17 at 18:08
  • and none of the accepted answers from the question you reference solve my problem – SBC Feb 14 '17 at 18:26

1 Answers1

0

I would recommend using the built in emulator that Android Studio comes with, Visual Studio's stand alone Android Emulator

That way you can debug your code on your development device without messing with adb

M Y
  • 1,831
  • 4
  • 24
  • 52
  • I definitely dont plan on changing my IDE to Visual Studio, will this work with andorid studio as they each get updated by different sets of developers? – SBC Feb 14 '17 at 18:16
  • @SBC The visual studio emulator is stand alone, and hooks right up to Android Studio with little effort. – M Y Feb 14 '17 at 18:21