Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

No Implementation Found Error in OpenCv Android Tutorial 4

Hi, i'm trying to use opencv for android. I installed the sdk, tested a few tutorial without problems. Now i'm trying to use the Ndk to write OpenCv in C++.

I just can't run Tutorial 3 and Tutorial 4 beacuse the call:

public native void FindFeatures(long matAddrGr, long matAddrRgba);

Throw a runtime error:

W/dalvikvm(2537): No implementation found for native Lorg/opencv/samples/tutorial4/Sample4Mixed;.FindFeatures:(JJ)V

E/AndroidRuntime(2592): java.lang.UnsatisfiedLinkError: Native method not found: org.opencv.samples.tutorial3.Sample3Native.FindFeatures:(JJ)V

I tried everything... i also added

libopencv_java.so

directly in /jni folder and edited the Android.mk file this way:

include $(CLEAR_VARS)

LOCAL_MODULE := opencv_java

LOCAL_SRC_FILES := libopencv_java.so

include $(PREBUILT_SHARED_LIBRARY)

any suggestion please?

Gabriele