Unity Android Native Plugin – DllNotFoundException
I was trying to build c++ native plugin for unity android and facing dll not found issue and then I tried the sample native plugin package unity providing in this link https://docs.unity3d.com/Manual/android-native-plugins-call.html and I found the error when running
Exception: DllNotFoundException: Unable to load DLL ‘native’. Tried the load the following dynamic libraries: Unable to load dynamic library ‘native’ because of ‘Failed to open the requested dynamic library (0x06000000) dlerror() = dlopen failed: library “native” not found
CallNativeCode.add (System.Single x, System.Single y) (at <00000000000000000000000000000000>:0)
CallNativeCode.Start () (at <00000000000000000000000000000000>:0)
The packages I built also was giving same errors.
How to solve this problem?