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)

Stack Overflow | user2121 | 4 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    how to open the camera using OpenCV4Android

    Stack Overflow | 4 months ago | user2121
    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)

    Root Cause Analysis

    1. 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()
    2. org.opencv.videoio
      VideoCapture.open
      1. org.opencv.videoio.VideoCapture.open_2(Native Method)
      2. org.opencv.videoio.VideoCapture.open(VideoCapture.java:138)
      2 frames
    3. com.example.bakrid
      MainActivity$1.onManagerConnected
      1. com.example.bakrid.opencvvideocapture_00.CustomSurfaceView.<init>(CustomSurfaceView.java:26)
      2. com.example.bakrid.opencvvideocapture_00.MainActivity$1.onManagerConnected(MainActivity.java:26)
      2 frames
    4. org.opencv.android
      AsyncServiceHelper$3.onServiceConnected
      1. org.opencv.android.AsyncServiceHelper$3.onServiceConnected(AsyncServiceHelper.java:319)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1273)
      2. android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1290)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:145)
      6. android.app.ActivityThread.main(ActivityThread.java:6117)
      6 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames