当应用程序运行时,android studio打开调试模式 [英] android studio open debug mode when app is running

查看:136
本文介绍了当应用程序运行时,android studio打开调试模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我的应用程序出现在 - Android设备监视器 - 设备标签 。当我点击此屏幕上的应用程序行时,调试图标不活动



运行我的应用程序后,我如何通过调试模式?

解决方案

在Android Studio中(我正在使用I / O预览0.2.10)只需点击工具栏中的图标,看起来像一个有bug的手机它 - 悬停的文本说:将调试器附加到Android进程。这是第三个图标:



然后会出现一个列表,显示您可以调试的进程。选择一个并选择确定 - 您的应用程序正在调试!



注意:确保您的应用程序是可调试的,如这里


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?

解决方案

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.

这篇关于当应用程序运行时,android studio打开调试模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆