Usually program will crash due to SIGSEGV signal after assert() is called, by default NDEBUG is define, you may turn off by add the flag (LOCAL_CFLAGS += -UNDEBUG) during compilation but not work for my case.
I found another solution is using __android_log_assert, simply define as below & replace assert() with assert3.
No comments:
Post a Comment