Reputation: 6892
I follow Get Android NDK crash reports in order to integrating NDK Crashlytics report.
However, I don't know how to generate a fake NDK crash to test the integration. Do you know how to do it?
Upvotes: 0
Views: 182
Reputation: 206
int* foo = (int*)-1;
printf("%d\n", *foo);
return *foo;
[recommendation from firebase support]
you can also just call __android_log_assert(0, "tag", "message")
Upvotes: 1