简体   繁体   English

Android:Crashlytics无法发送报告C ++库崩溃

[英]Android: Crashlytics not sending report c++ library crash

I have an Android app which has a C++ library (via JNI). 我有一个具有C ++库(通过JNI)的Android应用。

Whenever the library crashes, it makes the app also crash, but I don't receive the crash on crashlytics. 每当库崩溃时,它都会使应用程序也崩溃,但是我在crashlytics上不会崩溃。

Is this a limitation of Crashlytics . 这是Crashlytics的限制 Does it only catches the uncaught Java exceptions? 它仅捕获未捕获的Java异常吗?

Note: Any Java exception on main thread that makes the app crash is caught by Crashlytics, so I know it is working. 注意:Crashlytics捕获了导致应用程序崩溃的主线程上的任何Java异常,因此我知道它可以正常工作。

现在正式了, Crashlytics支持NDK

If you read their blog: http://www.crashlytics.com/blog/crashlytics-february-2015-update/ 如果您阅读他们的博客: http : //www.crashlytics.com/blog/crashlytics-february-2015-update/

They say: 他们说:

Latest Toys from Crashlytics Labs : Many of you who are building awesome apps with the NDK on Android have requested support from Crashlytics. Crashlytics实验室的最新玩具:在Android上使用NDK构建出色应用程序的许多人都要求Crashlytics提供支持。 Since opening access to our beta program in October, our Labs team has continued building this out and enhancing its functionalities every day. 自10月开放使用我们的Beta版程序以来,我们的实验室团队一直在不断完善这一功能并每天增强其功能。 We're now working with top companies who have already shipped their apps with our beta — so if you haven't test out our NDK beta yet, request early access here 我们现在正在与已经将其应用程序附带Beta版发布的顶级公司合作-因此,如果您尚未测试我们的NDK Beta版,请在此处请求早期访问

You can get the beta access here: http://try.crashlytics.com/secret/ 您可以在此处获得Beta版访问权限: http//try.crashlytics.com/secret/

Edit: We been using the beta for some time now and it does the trick nicely. 编辑:我们已经使用Beta一段时间了,它的技巧很好。 It's now out to the general public and you can read their blog post about it. 现在已经向公众公开,您可以阅读他们的博客文章

You're right that the Android SDK only catches Java exceptions at the moment. 没错,Android SDK目前仅捕获Java异常。 Twitter announced that Crashlytics has NDK support coming soon, though. Twitter宣布Crashlytics即将支持NDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM