How can open debug mode when application is running on android studio.,
My application is appearing on -Android Device Monitor- Devices tab . When i clicked application line on this screen ,debug icon is not active
How can i pass to debug mode after running my application?
Run simply launches the application (regardless of what the flavor is). Debug essentially does the same thing but will stop at any breakpoints that you might have set ...
To start debugging an APK, click Profile or debug APK from the Android Studio Welcome screen. Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK.
In Android Studio (I'm currently using I/O Preview 0.2.10) simply click on the icon in the toolbar that looks like a phone with a bug over it - the hover text says: Attach debugger to Android process.
It's the third icon along:
A list will then appear showing your processes that you can debug. Choose one and select OK - your application is now being debugged!
Note: Make sure your app is debuggable, as shown here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With