Android app not able to locate libopencv_java.so

asked 2014-09-06 12:48:20 -0500

sumitsrv gravatar image

updated 2014-09-06 12:51:05 -0500

Hi,

Created a Qt based app. Build it for armabi-v7 arch. The build works fine for several phones but when I tried it on Samsung Galaxy Tab 2 which has armabi-v7 arch, its not able to find the libopencv_java.so. Not sure what could the reason be. Can anyone help.

Here's my libs declaration in .pro file,

contains(ANDROID_TARGET_ARCH,armeabi-v7a) { LIBS += /mnt/Signi/Softwares/Linux/OpenCV-2.4.9-android-sdk/sdk/native/libs/armeabi- v7a/libopencv_java.so \ /mnt/Signi/Softwares/Linux/OpenCV-2.4.9-android-sdk/sdk/native/libs/armeabi-v7a/libopencv_info.so

INCLUDEPATH += /mnt/Signi/Softwares/Linux/OpenCV-2.4.9-android-sdk/sdk/native/jni/include/ \ /mnt/Signi/Softwares/Linux/OpenCV-2.4.9-android-sdk/sdk/native/jni/include/opencv \ /mnt/Signi/Softwares/Linux/OpenCV-2.4.9-android-sdk/sdk/native/jni/include/opencv2 \ }

edit retag flag offensive close merge delete