Android 崩溃报告库(Froyo 之前)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3378550/
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
Android crash reporting library (pre Froyo)
提问by Dariusz Bacinski
Do you know any crash reporting library for Android?
您知道任何适用于 Android 的崩溃报告库吗?
I don't want to spend a lot of time to write my own reporting system.
The output can be send to the email or some kind of server.
我不想花很多时间来编写自己的报告系统。
输出可以发送到电子邮件或某种服务器。
I know that Google introduced crash reporting in Froyo, but I want something for older versions of the system.
我知道谷歌在 Froyo 中引入了崩溃报告,但我想要一些适用于旧版本系统的东西。
Let's sum up the answers:
让我们总结一下答案:
- android-remote-stacktrace- sends raports to mail or php script
- acra- sends reports to google docs
- Android Error Reporter- sends reports via HTTP post request
- android-remote-stacktrace- 将 raports 发送到邮件或 php 脚本
- acra- 向谷歌文档发送报告
- Android 错误报告器- 通过 HTTP post 请求发送报告
回答by stealthcopter
This is what you are looking for: android-remote-stacktraceIt sends an email / calls a php script when your application crashes and sends the logcat output. Quite simple to use and very useful!
这就是您要查找的内容:android-remote-stacktrace当您的应用程序崩溃并发送 logcat 输出时,它会发送电子邮件/调用 php 脚本。使用起来非常简单,非常有用!
Remotely log unhandled exceptions in your Android applications
远程记录 Android 应用程序中未处理的异常
回答by Jarek Potiuk
You can also try out a service done by my company just for that purpose (and a bit more) http://apphance.com. It allows not only to get crashes, but also logs, screenshots whenever tester reports a problem. It reports it to the cloud and lets developer to browse through the sessions/logs/crashes/issue reports using a useful web panel.
您也可以尝试我公司为此目的(以及更多)提供的服务http://apphance.com。它不仅允许崩溃,还允许在测试人员报告问题时获取日志、屏幕截图。它将它报告给云,并让开发人员使用有用的 Web 面板浏览会话/日志/崩溃/问题报告。
It is more targeted for testing part, but soon there will also be a production-version available. It is also cross-platform - not only Android but also iOS and soon more.
它更适合测试部分,但很快也会有生产版本可用。它也是跨平台的——不仅是 Android,还有 iOS 等等。
Disclaimer: I am CTO of Polidea, company behind Apphance, co-creator of the app.
免责声明:我是 Polidea 的首席技术官,Apphance 背后的公司,该应用程序的共同创建者。
回答by Jon Romero
You can also try BugSense. BugSense collects and analyzes all crash reports and gives you meaningful and visual reports. It's free, used by big applications (with more than 10.000.000 users) and it's only 1 line of code in order to integrate.
你也可以试试BugSense。BugSense 收集和分析所有崩溃报告,并为您提供有意义和直观的报告。它是免费的,供大型应用程序使用(用户超过 10.000.000),并且只需 1 行代码即可进行集成。
Disclaimer: I am a co-founder
免责声明:我是联合创始人
回答by Tom
I wrote an Error-Reporting Library for my own project which is very easy to integrate. It allows you to send error reports to a http server (similar to android-remote-stacktrace). It's open source and can be downloaded from github: https://github.com/tomquist/Android-Error-Reporter
我为自己的项目编写了一个错误报告库,它非常易于集成。它允许您将错误报告发送到 http 服务器(类似于 android-remote-stacktrace)。它是开源的,可以从github下载:https: //github.com/tomquist/Android-Error-Reporter
回答by MatrixFrog
Android is all open source, so perhaps you could just extract that part of Froyo and add it to your app as though it were a third-party library. I don't know how easy or feasible that would be, but if it works for you, let us know!
Android 都是开源的,所以也许您可以提取 Froyo 的那部分并将其添加到您的应用程序中,就好像它是第三方库一样。我不知道这有多容易或可行,但如果它对您有用,请告诉我们!