• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Add so files to Android NDK project (UnsatisfiedLinkError)

Kenix157

Lurker
I trying to run my app (GTA SA Mobile + SAMP Android + Bass lib) but it crashes after run. This crash appears when i include any library, for example i tryied it with libsqliteX.so
Otherwise, when i compile without (bass lib) it runs good.
I compile with cygwin + APK Easy Tool->compile.
APK file:
https://drive.google.com/open?id=172_LWbFNegGAb7GmdiWO8uQ799UlBRXf

Here is a log:
https://pastebin.com/yECu4uHf

Android.mk file
https://pastebin.com/4wTHzrLb

Application.mk file
https://pastebin.com/Xd25rdsW

Files structure:
https://pastebin.com/G7bTAg2b

SAMP Android source code (I changed only Android.mk file and put bass libs into vendor folder):
https://github.com/4x11/build69

I don't know what can i do, i tried anything but nothing works.
My steps is very easy:
1. Compile libsamp.so via cygwin
2. Put libsamp.so and other bass libs into APK (build69v108.apk\lib\armeabi-v7a\)
3. Use APK Easy Tool -> compile
4. Run an app

Tested on phone:
- Redmi Note 7
- Android ver: 9 PKQ1. 180904.001
- MIUI ver: MIUI Global 10.21 stable
- Core ver: 4.4.153-perf+
 
Back
Top Bottom