如何从我的 Android 应用程序获取崩溃数据? [英] How do I obtain crash-data from my Android application?

查看:23
本文介绍了如何从我的 Android 应用程序获取崩溃数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从我的 Android 应用程序获取崩溃数据(至少是堆栈跟踪)?至少在我自己的设备上工作时通过电缆检索,但理想情况下是从我的应用程序的任何实例中运行,以便我可以改进它并使其更可靠.

How can I get crash data (stack traces at least) from my Android application? At least when working on my own device being retrieved by cable, but ideally from any instance of my application running on the wild so that I can improve it and make it more solid.

推荐答案

你可以试试 ACRA(Application Crash Report forAndroid) 库:

ACRA 是一个使 Android 应用程序能够自动将其崩溃报告发布到 GoogleDoc 表单的库.它面向 Android 应用程序开发人员,帮助他们在应用程序崩溃或出现错误时从他们的应用程序中获取数据.

ACRA is a library enabling Android Application to automatically post their crash reports to a GoogleDoc form. It is targetted to android applications developers to help them get data from their applications when they crash or behave erroneously.

它很容易安装在您的应用中,高度可配置,并且不需要您在任何地方托管服务器脚本...报告被发送到 Google Doc 电子表格!

It's easy to install in your app, highly configurable and don't require you to host a server script anywhere... reports are sent to a Google Doc spreadsheet !

这篇关于如何从我的 Android 应用程序获取崩溃数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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