启用从logcat的实际设备日志消息 [英] Enable Log messages from real device on Logcat

查看:114
本文介绍了启用从logcat的实际设备日志消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有关我的Andr​​oid应用程序开发,我想从我的实际设备logcat的消息(开始从日食在其上的应用程序时),而不是仅仅从我的模拟器。

For my android app development, I am trying to get logcat messages from my real device (when starting an app on it from eclipse) and not just from my emulator.

是否有人知道如何使这样的功能?

Does someone know how to enable such a feature?

推荐答案

您需要在您的设备上启用USB调试。进入设置,应用程序开发,并勾选USB调试。然后,当您的设备通过USB连接,你可以看到它的名字DDMS就好像是另外一个仿真器。

You need to enable USB Debugging on your device. Go to settings, applications, development and tick "USB Debugging". Then when your device is connected by USB you can see its name in DDMS as if it was another emulator.

这篇关于启用从logcat的实际设备日志消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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