java.lang.UnsatisfiedLinkError: dlopen failed: "/data/user/0/com.meizu.setup/app_lib/libpl_droidsonroids_gif.so1.1.16" is 64-bit instead of 32-bit

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • GitHub comment 319#234824551
    via GitHub by godguy213
    ,
  • Android NDK - Library not found
    via Stack Overflow by ltu
    ,
  • GitHub comment 51#157193898
    via GitHub by DecentCow
    ,
    • java.lang.UnsatisfiedLinkError: dlopen failed: "/data/user/0/com.meizu.setup/app_lib/libpl_droidsonroids_gif.so1.1.16" is 64-bit instead of 32-bit at java.lang.Runtime.load(Runtime.java:331) at java.lang.System.load(System.java:981) at avn.a(SourceFile:61) at avk.a(SourceFile:58) at pl.droidsonroids.gif.GifInfoHandle.<clinit>(SourceFile:30) at aut.<init>(SourceFile:160) at aut.<init>(SourceFile:110) at com.meizu.setup.activity.FlymeAccountRecommendActivity.b(SourceFile:255) at com.meizu.setup.activity.FlymeAccountRecommendActivity.D(SourceFile:247) at com.meizu.setup.activity.FlymeAccountRecommendActivity.E(SourceFile:288) at com.meizu.setup.activity.FlymeAccountRecommendActivity.B(SourceFile:114) at com.meizu.setup.activity.FlymeAccountRecommendActivity.onCreate(SourceFile:106) at android.app.Activity.performCreate(Activity.java:6074) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1117) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2452) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2566) at android.app.ActivityThread.access$800(ActivityThread.java:158) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5506) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:952) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)

    Users with the same issue

    franky li
    franky li134 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    42 more bugmates