Android : How to enable coredump for JNI code in Android

on Monday, February 16, 2015


I'm writing an Android app that uses huge amounts of JNI-c code (mostly ported from other project). My problem is that my app crashes occasionally. And I've got no way to find out where is the crashing point unless I attach gdb. Sadly, I can not attach gdb all the time. And in this case, I got no clew on some crashes because my app just dies silently.


What I want is to enable coredump in Android for my JNI-massive app. Or if there is any better idea to help out my trouble, I appreciate your ideas. Any pointers?


0 comments:

Post a Comment