简体   繁体   中英

Android: Crashlytics not sending report c++ library crash

I have an Android app which has a C++ library (via JNI).

Whenever the library crashes, it makes the app also crash, but I don't receive the crash on crashlytics.

Is this a limitation of Crashlytics . Does it only catches the uncaught Java exceptions?

Note: Any Java exception on main thread that makes the app crash is caught by Crashlytics, so I know it is working.

现在正式了, Crashlytics支持NDK

If you read their blog: 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. Since opening access to our beta program in October, our Labs team has continued building this out and enhancing its functionalities every day. 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

You can get the beta access here: http://try.crashlytics.com/secret/

Edit: We been using the beta for some time now and it does the trick nicely. 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. Twitter announced that Crashlytics has NDK support coming soon, though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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