java.lang.UnsatisfiedLinkError

tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafael

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

  • GitHub comment 8191#279420964
    via GitHub by qwill
    ,
  • GitHub comment 72#197298206
    via GitHub by zshn25
    ,
  • GitHub comment 8135#277666186
    via GitHub by daniel-barkan
    ,
    • java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.qwill.opencvtests-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.qwill.opencvtests-2/lib/x86, /data/app/com.example.qwill.opencvtests-2/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libopencv_java3.so" at java.lang.Runtime.loadLibrary0(Runtime.java:972) at java.lang.System.loadLibrary(System.java:1530) at org.opencv.android.StaticHelper.loadLibrary(StaticHelper.java:64) at org.opencv.android.StaticHelper.initOpenCVLibs(StaticHelper.java:95) at org.opencv.android.StaticHelper.initOpenCV(StaticHelper.java:39) at org.opencv.android.OpenCVLoader.initDebug(OpenCVLoader.java:77) at com.example.qwill.opencvtests.MainActivity.onResume(MainActivity.java:120) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269) at android.app.Activity.performResume(Activity.java:6766) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3377) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3440) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2713)

    Users with the same issue

    Unknown User
    4 times, last one,
    Unknown visitor1 times, last one,
    Reich
    2 times, last one,
    Unknown visitor1 times, last one,
    filpgame
    8 times, last one,
    258 more bugmates