我如何从Android设备的日志文件? [英] How do I get the logfile from an Android device?

查看:132
本文介绍了我如何从Android设备的日志文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从一个设备的日志文件中拉我的电脑。我该怎么办呢?

I would like to pull the log file from a device to my PC. How can I do that?

推荐答案

LogCollector的是一个不错的选择,但你需要先安装它。

Logcollector is a good option but you need to install it first.

当我想要得到的日志文件通过邮件发送,我通常做到以下几点:

When I want to get the logfile to send by mail, I usually do the following:

  • connect the device to the pc.
  • Check that I already setup my os for that particular device.
  • Open a terminal
  • Run adb shell logcat > log.txt

这篇关于我如何从Android设备的日志文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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