Reputation: 1734
How can I debug an app that was built with debugging turned on but is already installed on a phone?
I have tried to find a way to attach Android Studio to an existing app, but can't figure that out. Do I need to use adb in some way to do this? Any hints would be appreciated.
Upvotes: 2
Views: 5471
Reputation: 15350
Click in the fourth button in the bar (This is screenshot is from AndroidStudio 2.2, the icons have changed but the position is the same).
After that, it will prompt to you all running application that can have debug attached, just select it and you are now debugging.
Upvotes: 4