Crashlytics NDK 2.0.1 Does Not Report Failures

I am trying to migrate Crashlytics 2.6.7 -> 2.8.0 and Crashlytics NDK 1.1.6 -> 2.0.1

But I ran into a problem that every time my application restarts after a crash, Crashlytics writes logcat something like this:

12-18 19: 48: 33,499 11678-11717 /? W / CrashlyticsCore: no minidump data found in the /data/data/com.example.app/files/.Fabric/com.crashlytics.sdk.android.crashlytics-ndk/native/1513601249792 directory

and I do not see any information about the failure in my panel. At the same time, Java errors are successfully logged and displayed on the control panel.

My build.gradle:

 apply plugin: 'io.fabric' crashlytics { enableNdk true } dependencies { compile('com.crashlytics.sdk.android:crashlytics: 2.8.0@aar ') { transitive = true; } compile('com.crashlytics.sdk.android:crashlytics-ndk: 2.0.1@aar ') { transitive = true } } 

C ++ code that I use for the test (there is SIGSEGV, you need to quit):

 if(_stream) { delete _stream; _stream->close(); _stream=NULL; } 

What do I need to change to make it work?

+5
source share

Source: https://habr.com/ru/post/1274151/


All Articles