Android NDK UnsatisfiedLinkError: “dlopen failed: empty/missing DT_HASH”

前端 未结 7 2422
迷失自我
迷失自我 2021-02-08 06:50

I am tracking down crashes with our Android application (which uses the NDK to load a C++ library) using a crash reporting service. A small number of users are experiencing the

7条回答
  •  半阙折子戏
    2021-02-08 06:58

    To see if it is hash-style problem you can run readelf -d cpplibrary.so and look for GNU_HASH section. If there is one - --hash-style=sysv should solve the problem.

提交回复
热议问题