Link External Shared Library Android Ndk
I have built python3 with the android-ndk toolchain (llvm prebuilt) and I'm trying to link against my project in android studio. The build finishes without error but when I launch
Solution 1:
I found the answer there: Using a prebuilt shared Library in Android Studio (cmake) thanks to @Michael
I changed the INSTSONAME while compiling python to discard the versioned part of the library (libpython3.8.so.1.0 -> libpython3.8.so). Doing so also discarded the SONAME. Using patchelf I was able to add SONAME and the library is found.
Post a Comment for "Link External Shared Library Android Ndk"