应用程序运行时,机器人工作室开调试模式 [英] android studio open debug mode when app is running

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

问题描述

如何打开时,应用程序在Android上运行的工作室调试模式。

How can open debug mode when application is running on android studio.,

我的应用程序出现在 - Android设备监控仪设备标签。当我在此屏幕上点击应用线,调试图标不活跃

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?

推荐答案

在Android的工作室(我目前使用的I / O preVIEW 0.2.10),只需点击看起来像一个电话工具栏中的图标超过一个bug - 悬停文中说:连接调试到Android的过程沿着它的第三个图标。

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.

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

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