AxelNennker / DroidLibIndy

An Android Studio project to test libindy on Android
4 stars 3 forks source link

libgnustl_shared.so origin #2

Open JEMoralesD opened 5 years ago

JEMoralesD commented 5 years ago

Where does this file comes from? I have built the libraries forllowing these instructions and I am only getting a libindy.so libindy.a and libindy_shared.so files. When I try to run the project however I am getting an error

E/AndroidRuntime: FATAL EXCEPTION: main
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.so" not found
 at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
 at java.lang.System.loadLibrary(System.java:1657)
AxelNennker commented 5 years ago

It is part of the NDK. At that time I used NDK 16.

ignisvulpis@namenlos:~$ cd Android/
ignisvulpis@namenlos:~/Android$ find . -name libgnustl_shared.so
./NDK/x86/i686-linux-android/lib/libgnustl_shared.so
./NDK/arm/arm-linux-androideabi/lib/thumb/libgnustl_shared.so
./NDK/arm/arm-linux-androideabi/lib/libgnustl_shared.so
./NDK/arm/arm-linux-androideabi/lib/armv7-a/thumb/libgnustl_shared.so
./NDK/arm/arm-linux-androideabi/lib/armv7-a/libgnustl_shared.so
./NDK/arm64/aarch64-linux-android/lib/libgnustl_shared.so
ignisvulpis@namenlos:~/Android$