QuickBirdEng / opencv-android

Easy way to integrate OpenCv into your Android project via Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No implementation found for imread_1

badadin opened this issue · comments

I get this:
java.lang.UnsatisfiedLinkError: No implementation found for long org.opencv.imgcodecs.Imgcodecs.imread_1(java.lang.String) (tried Java_org_opencv_imgcodecs_Imgcodecs_imread_11 and Java_org_opencv_imgcodecs_Imgcodecs_imread_11__Ljava_lang_String_2)

when trying to execute Imgcodecs.imread( imagePath ) (org.opencv.imgcodecs.Imgcodecs)

Dependencies:

implementation files("../../4.1.0/opencv-4.1.0-contrib.aar")
implementation files("../../4.1.0/opencv-4.1.0-contrib-sources.jar")

Tried both:
OpenCVLoader.initDebug()
and

static
{
	System.loadLibrary( "opencv_java4" );
}

The full example I tried to run

Does the same happen when using the jcenter artifacts?

Does the same happen when using the jcenter artifacts?

Tried now with:
implementation 'com.quickbirdstudios:opencv:4.1.0-contrib' from jcenter.
The answer is yes, the same happening :(

It works with 3.4.4 version. Version 4.1.0 has strange size:

image

3.4.4 is 113 Mb and 4.1.0 is 72 Mb.