ndk-stack not working

前端 未结 1 710
别那么骄傲
别那么骄傲 2021-02-18 17:09

I am invoking ndk-stack as follows:

cat file_temp | ~/workspace/android-ndk-r6b/ndk-stack -sym /home/xyz/trunk/apk/obj/local/armeabi/

It finds

相关标签:
1条回答
  • 2021-02-18 17:45

    This is the ndk-stack program being unable to read the unstripped version of your shared libraries.

    The specific crash occurs because a file exists matching the module name, but it's not large enough to contain an ELF header.

    Things to do:

    1. Check that the files contained in the directory supplied via -sym are correct (and not truncated).

    2. Remove truncated files or files smaller than a few hundred bytes.

    If you're curious, the source code for ndk-stack is in the android source tree under ndk/sources/host-tools/ndk-stack

    0 讨论(0)
提交回复
热议问题