Note that there are some explanatory texts on larger screens.

plurals
  1. POEmgu CV for Android throwing Exception Java.Lang.UnsatisfiedLinkError
    text
    copied!<p>I am using Mono for Android and followed the instructions mentioned on this page: <a href="http://file.emgu.com/wiki/index.php/Emgu_CV_for_Android" rel="nofollow noreferrer">http://file.emgu.com/wiki/index.php/Emgu_CV_for_Android</a> but when I run the application on the emulator, it throws the following exception:</p> <blockquote> <p>Java.Lang.UnsatisfiedLinkError has been thrown Cannot load library: find_library[1199]: 37 'libopencv_highgui.so' failed to load previously</p> <p>Java.Lang.UnsatisfiedLinkError: Cannot load library: find_library[1199]: 37 'libopencv_highgui.so' failed to load previously at Android.Runtime.JNIEnv.CallStaticVoidMethod (IntPtr jclass, IntPtr jmethod, Android.Runtime.JValue[] parms) [0x00023] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.4-branch/9f7cbd60/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:973</p> <p>at Java.Lang.JavaSystem.LoadLibrary (System.String libName) [0x00034] in /Users/builder/data/lanes/monodroid-mac-monodroid-4.2.4-branch/9f7cbd60/source/monodroid/src/Mono.Android/platforms/android-15/src/generated/Java.Lang.JavaSystem.cs:253</p> <p>at Emgu.CV.CvInvoke..cctor () [0x00000] in :0</p> <p>--- End of managed exception stack trace ---</p> <p>java.lang.UnsatisfiedLinkError: Cannot load library: find_library[1199]: 37 'libopencv_highgui.so' failed to load previously</p> <pre><code> at java.lang.Runtime.loadLibrary(Runtime.java:370) at java.lang.System.loadLibrary(System.java:535) at </code></pre> <p>mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)</p> <pre><code> at </code></pre> <p>mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:29)</p> <pre><code> at android.view.View.performClick(View.java:3511) at android.view.View$PerformClick.run(View.java:14105) at android.os.Handler.handleCallback(Handler.java:605) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4424) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at </code></pre> <p>com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)</p> <pre><code> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) at dalvik.system.NativeStart.main(Native Method) </code></pre> </blockquote> <p>Here is a screenshot of OpenCV-2.4.2 reference<br> <img src="https://i.imgur.com/zV5pf.jpg" alt="Reference Screenshot"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload