- Home /
Dll not found exception in Editor only
I want to use openCV in Unity (on Windows) and I have followed this tutorial
When I do a build everything going fine and the application work on my android (every libs are in good place).
When I want to play it in unity, I have the error "DllNotFoundException: SharedObject1".
My dlls ( libSharedObject1.so & libopencv_java3.so ) are in "Assets\Plugins\Android\libs\armeabi-v7a". I have tried other path for my dlls without any improvement.
My cs file
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class CallNativeCode : MonoBehaviour
{
[DllImport ("SharedObject1") ]
private static extern float Foopluginmethod();
void OnGUI()
{
GUI.Label(new Rect(15, 125, 450, 100), "Foopluginmethod: " + Foopluginmethod());
}
}
Did you find a solution to this?,Did you find the solution to this?
Your answer
Follow this Question
Related Questions
Why does Unity fail to load android native libraries when linked against OpenCV? 3 Answers
Error while importing confluent packages and bundling it into an APK 0 Answers
Mobile Computer Vision functionality advice 0 Answers
OpenCVSharp missing dll 1 Answer
DLL plugins unsupported for Android Application Building 0 Answers