java.lang.UnsatisfiedLinkError

No implementation found for boolean org.opencv.videoio.VideoCapture.open_2(long, int) (tried Java_org_opencv_videoio_VideoCapture_open_12 and Java_org_opencv_videoio_VideoCapture_open_12__JI)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Stack Overflow by user2121
    ,
  • Stack trace

    • java.lang.UnsatisfiedLinkError: No implementation found for boolean org.opencv.videoio.VideoCapture.open_2(long, int) (tried Java_org_opencv_videoio_VideoCapture_open_12 and Java_org_opencv_videoio_VideoCapture_open_12__JI) at org.opencv.videoio.VideoCapture.open_2(Native Method) at org.opencv.videoio.VideoCapture.open(VideoCapture.java:138) at com.example.bakrid.opencvvideocapture_00.CustomSurfaceView.<init>(CustomSurfaceView.java:26) at com.example.bakrid.opencvvideocapture_00.MainActivity$1.onManagerConnected(MainActivity.java:26) at org.opencv.android.AsyncServiceHelper$3.onServiceConnected(AsyncServiceHelper.java:319) at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1273) at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1290) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6117) 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:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

    Write tip

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

    Users with the same issue

    We couldn't find other users who have seen this exception.