查看登录的设备 [英] view the Log on device

查看:97
本文介绍了查看登录的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要查看的日志上的设备即的System.out.println();我可以查看DDMS,但如何在运行的APK文件查看器screeen

I want to view the Log on device i.e the System.out.println(); I am able to view on DDMS but how to view on device screeen while running an apk file

推荐答案

只要你有root你的手机上,你可以使用的logcat 工具在终端应用程序:

Provided you have root on your phone you can use the logcat utility in the Terminal application:

# logcat
D/dalvikvm(  142): GC freed 200 objects / 8744 bytes in 254ms
etc..

它显示了相同的日志(的/ dev /日志/主)的亚行logcat 命令提示在另一种答案。

It displays the same log (/dev/log/main) as the adb logcat command that was suggested in another answer.

这篇关于查看登录的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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