1. Are you ready for the Galaxy S20? Here is everything we know so far!

Add so files to Android NDK project (UnsatisfiedLinkError)

Discussion in 'Android Development' started by Kenix157, Dec 6, 2019.

  1. Kenix157

    Kenix157 Lurker
    Thread Starter

    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+
     

    Advertisement

Loading...
Similar Threads - Add files Android
  1. radar81
    Replies:
    5
    Views:
    64
  2. Androidbeginner123
    Replies:
    0
    Views:
    136
  3. DaveHorne
    Replies:
    2
    Views:
    175
  4. towertech
    Replies:
    0
    Views:
    275
  5. Winfried
    Replies:
    1
    Views:
    302
  6. 304God
    Replies:
    12
    Views:
    3,376
  7. shraga11
    Replies:
    1
    Views:
    289
  8. Mysteryman
    Replies:
    2
    Views:
    543
  9. Ruben Moya
    Replies:
    2
    Views:
    1,063

Share This Page

Loading...