How to use ndk-stack in android studio 2.3.3

Viewed 2882

I am trying to debug my android app which uses androidNDK. I am not using default androidNDK of android studio.I have downloaded androidNDK separately.Using this androidNDK I built the SO file. Now to debug the crash from stack, I followed this link https://developer.android.com/ndk/guides/ndk-stack.html

To do stack trace they mentioned command

$NDK/ndk-stack -sym $PROJECT_PATH/obj/local/armeabi -dump foo.txt

I replaced $NDK with the path of my downloaded androidNDK. -sym file gives me confusion What is symbol file?? Which filepath should I include? Either the c project filepath or my android studio file path?

1 Answers
Related