通过Crashlytics报告Android库中的崩溃 [英] Reporting Crashes in Android Library via Crashlytics

查看:98
本文介绍了通过Crashlytics报告Android库中的崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在构建一个Android库,打算将其集成到许多第三方应用程序中(不属于我).

I am building an android library that I plan to integrate into many 3rd party apps(which do not belong to me).

因此,我正在尝试找出一种方法来找出由于我的库中的代码而导致那些第三方应用程序崩溃的情况.有什么办法可以找到答案吗?

So, I am trying to figure out a way to find out if any of those 3rd party apps crashes due to the code in my library. Is there any way to find that out?

我正在研究Crashlytics以实现相同的目标.但是,据我了解,Crashlytics能够将Crash分析仅提供给应用程序所有者,对吗?在没有第三方应用程序干预的情况下,有什么方法可以收集崩溃信息?

I was looking at Crashlytics to achieve the same. But, as I understand, Crashlytics will be able to give the Crash analytics to only the app owner, right? Is there any way to collect the crash info without the intervention of the 3rd party app?

谢谢.

这不是将Crashlytics集成到库项目中的的重复项,因为我希望Crashlytics成为将位于多个android应用程序上的android库的一部分,但我想单独获得通知-而不是从正在安装我的android库的应用程序中收到通知.

This isn't a duplicate of Integrating Crashlytics to library project because I want Crashlytics to be part of an android library which will sit on multiple android apps, but I want to be notified separately - not from the app which is installing my android library.

推荐答案

Fabric的Mike在这里.不支持将Fabric或Crashlytics添加到将由外部开发人员使用的库中,因此不应这样做.

Mike from Fabric here. Adding Fabric or Crashlytics into a library that will be used by external developers is not supported and should not be done.

这篇关于通过Crashlytics报告Android库中的崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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