#AdditionalJar: opencv-4.9.0.aar
Dim system As JavaObject
system.InitializeStatic("java.lang.System")
system.RunMethod("loadLibrary",Array("opencv_java4"))
But I meet the following error:
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: library "libopencv_java4.so" not found
What is the correct way to do this? I can load the library using a native android project using System.loadLibaray("opencv_java4") but not with B4A.