Android 从手机读取错误日志

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2147610/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 04:43:26  来源:igfitidea点击:

Android read error log from handset

androidlogging

提问by d-man

How can I read the error log applications make? Is there any software which reads the error log from the handset and displays it?

如何读取应用程序生成的错误日志?有没有什么软件可以从手机中读取错误日志并显示出来?

I don't want to debug the app using eclipse, I'm looking for a handset based error log viewer.

我不想使用 Eclipse 调试应用程序,我正在寻找基于手机的错误日志查看器。

采纳答案by Dave Webb

There are a number of free applications in the Android Market which will collect the device log.

Android Market 中有许多免费应用程序可以收集设备日志。

One which looks promising is Log Collector, not least because it is open source. You can find it on Google Code hereand on androlib.com here.

一个看起来很有希望的是日志收集器,尤其是因为它是开源的。您可以在此处的 Google Code此处的 androlib.com找到它。

Here's another Log Collecting appproduced by the creators of Locale.

这是Locale的创建者制作的另一个日志收集应用程序

回答by Neil

I quite like the one I wrote ;-)
It's called SendLog
http://l6n.org/android/sendlog.shtml

我很喜欢我写
的那个;-)它叫做 SendLog
http://l6n.org/android/sendlog.shtml

回答by Mittenchops

Alogcatseems OK. It's a bit verbose, though.

Alogcat似乎没问题。不过,这有点冗长。