Mitch
Mitch

Reputation: 1734

Debug Installed App

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

Answers (1)

Guilherme Torres Castro
Guilherme Torres Castro

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).

enter image description here

After that, it will prompt to you all running application that can have debug attached, just select it and you are now debugging.

enter image description here

Upvotes: 4

Related Questions