Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

I am facing the same issue as you too and, it took quite some time for me to fix it and I am not sure if it can help, but this is what I did. I know it is a bit late, but I hope it can help others who are facing the same issues as us too. Click onto the:

1) jni folder -> Android.mk 2) add in these codes: OPENCV_CAMERA_MODULES:= on OPENCV_INSTALL_MODULES:= on

3) Save and run.


This is what I have in my Android.mk file

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

OPENCV_CAMERA_MODULES:= on OPENCV_INSTALL_MODULES:= on

include ../../sdk/native/jni/OpenCV.mk

LOCAL_SRC_FILES := DetectionBasedTracker_jni.cpp LOCAL_C_INCLUDES += $(LOCAL_PATH) LOCAL_LDLIBS += -llog -ldl

LOCAL_MODULE := detection_based_tracker

include $(BUILD_SHARED_LIBRARY)


Well this is what I did and the warning sign is then gone. I followed the guide from this link dev_with_OCV_on_Android at "Application Development with Static Initialization" number 3.

"After that the OpenCV libraries will be copied to your application libs folder during the JNI build.v Eclipse will automatically include all the libraries from the libs folder to the application package (APK)."