捕捉和发送的logcat输出通过电子邮件或服务器电子邮件、服务器、logcat

2023-09-06 00:06:21 作者:不能原谅

我开发一个Android应用程序有一些复杂的逻辑,我有问题的故障诊断已安装的beta测试的应用程序。

I'm developing an Android app which has some complex logic and I am having issues troubleshooting the app that has been installed by beta-testers.

有谁知道,如果有一个简单的方法来和手动或自动捕捉logcat的输出通过电子邮件发送回来,或将其发送到服务器?我也问过测试该应用安装aLogcat应用程序,并给我日志的人,但有2个问题是:

Does anyone know if there's an easy way to capture logcat output and either manually or automatically email it back, or send it to a server? I have asked the person testing the app to install aLogcat app and send me the log, but there are 2 issues with this:

发送各种日志记录从我不是intested其他应用程序 在 在它抓住有限的日志条目的数量,并没有给 登录我需要的条目。 it sends all kinds of logging from other apps that I'm not intested in it captures a limited amount of log entries, and did not give the log entries I needed.

如果任何人有类似的问题,以及如何解决这个问题的经验,这将是更AP preciated。

If anyone has any experience with a similar problem and how to solve this, it would be much appreciated.

推荐答案

您可以使用阿克拉。我用的,这是很大的。它可以发送crashreport到GDoc。

You could use Acra. I have used and it is great. It can send the crashreport to a GDoc.

我是pretty的肯定还有其他的工具也一样,我认为由于Android 2.2谷歌有一些内置的,但我还没有发现任何关于它的文档。 ( Android的错误报告)。

I'm pretty sure there are other tools too, and I think since Android 2.2 google has something built-in but I haven't found any docs about it. (Android Error reports).