Skip to content

Problem while installing on Android #2

@murtaza98

Description

@murtaza98

Hey,
I tested this on my laptop using its webcam and it worked fine.

However, when I am installing it on my Android phone, I am getting some errors like this.
09-26 23:01:08.858 25404 25427 E Unity : DllNotFoundException: OpenCvSharpExtern 09-26 23:01:08.858 25404 25427 E Unity : at (wrapper managed-to-native) OpenCvSharp.NativeMethods.core_Mat_sizeof() 09-26 23:01:08.858 25404 25427 E Unity : at OpenCvSharp.NativeMethods.TryPInvoke () [0x0000e] in <1c4180998434408a87e8d3a3d5f215e6>:0 09-26 23:01:08.858 25404 25427 E Unity : Rethrow as OpenCvSharpException: OpenCvSharpExtern 09-26 23:01:08.858 25404 25427 E Unity : *** An exception has occurred because of P/Invoke. *** 09-26 23:01:08.858 25404 25427 E Unity : Please check the following: 09-26 23:01:08.858 25404 25427 E Unity : (1) OpenCV's DLL files exist in the same directory as the executable file. 09-26 23:01:08.858 25404 25427 E Unity : (2) Visual C++ Redistributable Package has been installed. 09-26 23:01:08.858 25404 25427 E Unity : (3) The target platform(x86/x64) of OpenCV's DLL files and OpenCvSharp is the same as your project's.

Any suggestions would be appreciated. Thank you in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions