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
The library you are trying to load was most likely built with -Wl,--hash-style=gnu
. This was not supported on Android until recently (afaik this isn't even in L). You need to build your libraries with -Wl,--hash-style=sysv
.
How did you build cpplibrary.so
? If you didn't do anything to manually switch to the gnu hash style, it could be a bug in the NDK.