Ask Your Question

Revision history [back]

  1. There are separate libraries for native camera support on different Androids. As I see in your log you forgot libraries for Android 4.1 and Android 4.2 (libnative_camera_r4.1 and libnative_camera_r4.2). Add them to libs/[arch] folder of your Android project or add "OPENCV_CAMERA_MODULES:=on" and "OPENCV_INSTALL_MODULES:=on" strings to your Android.mk before including OpenCV.mk.

  2. I recommend you to use OpenCV Manager instead including OpenCV in your packages. It gives you additional optimizations on different platforms and additional updates for new Android versions support. Android 4.1.x and Android 4.2.x support already added to current version of OpenCV Manager.