open terminal (i hvae tried in ubuntu and MAC , in case window i am not sure)
according to ndk-stack manual , use followng command “adb logcat | $NDK_ROOT/ndk-stack -sym $GAME_ROOT/proj.android/obj/local/armeabi/” , type without “” …. leave this terminal
after issuing this command reproduce or wait for the crash , go back to terminal where you have issued command…… you will probably see the actual error …
if in $GAME_ROOT/proj.android/obj/local/armeabi/ there are sym files then … there might be problem with path …. i cannot understnd cygwin path system …… i never used it …… but one thing i will mention, in command "sym " will tell logcat that symbolic files are in path given aftersym ….
I changed the “~~sym /cygdrive/c/…" to "~~sym C:/”… and it worked! However, I discovered that I am actually facing multiple different crashes (perhaps related?)
The first one:
And the second:
Which is not very helpful IMO.
Third:
Which happens at around the same time as the second.
Fourth:
The only ones that seem maybe useful to me are the first and third one. I am wondering why I am getting so many different crashes.
I had the same problem yesterday and the reason was
I had a custom CCMenuItem Class in which I was using a boolean variable of same name as a method name already was defined in CCMenuItem which was causing memory leak.