Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

package not found - issue building libopencv_java.so

Hi there! I'm trying to run face-recognition sample over Android Studio (on windows...)

I'm testing the app in a MotoG (ARM) and the following Application and Android mk.

APP_STL := gnustl_static APP_CPPFLAGS := -frtti -fexceptions APP_ABI := armeabi-v7a APP_PLATFORM := android-8

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

OPENCV_INSTALL_MODULES:=on OPENCV_CAMERA_MODULES:=off OPENCV_LIB_TYPE:=STATIC include C:\Users\lbais\Documents\OpenCV-android-sdk\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)

in my project I have: src\main\libs\armeabi-v7a\ but just the file libdetection_based_tracker.so

I'm facing the following issue:

5-08 16:29:31.209 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ Instantiated new class org.opencv.samples.facedetect.FdActivity 05-08 16:29:31.218 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ called onCreate 05-08 16:29:31.237 7535-7535/org.opencv.samples.facedetect D/CameraBridge﹕ Attr count: 3 05-08 16:29:31.239 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to get library list 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect E/OpenCV/StaticHelper﹕ OpenCV error: Cannot load info library for OpenCV 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Library list: "" 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ First attempt to load libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to init OpenCV libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to load library opencv_java 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Cannot load library "opencv_java" 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect W/System.err﹕ java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libopencv_java.so"

Does anybody can help me?

package not found - issue building libopencv_java.so

Hi there! I'm trying to run face-recognition face-detection sample over Android Studio (on windows...)

I'm testing the app in a MotoG (ARM) and the following Application and Android mk.

APP_STL := gnustl_static APP_CPPFLAGS := -frtti -fexceptions APP_ABI := armeabi-v7a APP_PLATFORM := android-8

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

OPENCV_INSTALL_MODULES:=on OPENCV_CAMERA_MODULES:=off OPENCV_LIB_TYPE:=STATIC include C:\Users\lbais\Documents\OpenCV-android-sdk\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)

in my project I have: src\main\libs\armeabi-v7a\ but just the file libdetection_based_tracker.so

I'm facing the following issue:

5-08 16:29:31.209 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ Instantiated new class org.opencv.samples.facedetect.FdActivity 05-08 16:29:31.218 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ called onCreate 05-08 16:29:31.237 7535-7535/org.opencv.samples.facedetect D/CameraBridge﹕ Attr count: 3 05-08 16:29:31.239 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to get library list 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect E/OpenCV/StaticHelper﹕ OpenCV error: Cannot load info library for OpenCV 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Library list: "" 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ First attempt to load libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to init OpenCV libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to load library opencv_java 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Cannot load library "opencv_java" 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect W/System.err﹕ java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libopencv_java.so"

Does anybody can help me?

package not found - issue building libopencv_java.so

Hi there! I'm trying to run face-detection sample over Android Studio (on windows...)

I'm testing the app in a MotoG (ARM) and the following Application and Android mk.

APP_STL := gnustl_static APP_CPPFLAGS := -frtti -fexceptions APP_ABI := armeabi-v7a APP_PLATFORM := android-8

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

OPENCV_INSTALL_MODULES:=on OPENCV_CAMERA_MODULES:=off OPENCV_LIB_TYPE:=STATIC include C:\Users\lbais\Documents\OpenCV-android-sdk\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)

in my project I have: src\main\libs\armeabi-v7a\ but just the file libdetection_based_tracker.so

I'm facing the following issue:

5-08 16:29:31.209 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ Instantiated new class org.opencv.samples.facedetect.FdActivity 05-08 16:29:31.218 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ called onCreate 05-08 16:29:31.237 7535-7535/org.opencv.samples.facedetect D/CameraBridge﹕ Attr count: 3 05-08 16:29:31.239 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to get library list 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect E/OpenCV/StaticHelper﹕ OpenCV error: Cannot load info library for OpenCV 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Library list: "" 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ First attempt to load libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to init OpenCV libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to load library opencv_java 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Cannot load library "opencv_java" 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect W/System.err﹕ java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libopencv_java.so"

Does anybody can help me?

UPDATE: If I install manager v3 APK I get the following error:

05-08 17:56:20.125 17630-17630/org.opencv.samples.facedetect E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: org.opencv.samples.facedetect, PID: 17630 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libdetection_based_tracker.so"

android mk:

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

OPENCV_CAMERA_MODULES:=off

OPENCV_INSTALL_MODULES:=off

OPENCV_LIB_TYPE:=SHARED

include C:\Users\lbais\Documents\OpenCV-android-sdk\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)

package not found - issue building libopencv_java.solibdetection_based_tracker.so

Hi there! I'm trying to run face-detection sample over Android Studio (on windows...)

windows...) I'm testing the app in a MotoG (ARM) and the following Application and Android mk.

APP_STL := gnustl_static APP_CPPFLAGS := -frtti -fexceptions APP_ABI := armeabi-v7a APP_PLATFORM := android-8

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

OPENCV_INSTALL_MODULES:=on OPENCV_CAMERA_MODULES:=off OPENCV_LIB_TYPE:=STATIC include C:\Users\lbais\Documents\OpenCV-android-sdk\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)

in my project I have: src\main\libs\armeabi-v7a\ but just the file libdetection_based_tracker.so

I'm facing the following issue:

5-08 16:29:31.209 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ Instantiated new class org.opencv.samples.facedetect.FdActivity 05-08 16:29:31.218 7535-7535/org.opencv.samples.facedetect I/OCVSample::Activity﹕ called onCreate 05-08 16:29:31.237 7535-7535/org.opencv.samples.facedetect D/CameraBridge﹕ Attr count: 3 05-08 16:29:31.239 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to get library list 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect E/OpenCV/StaticHelper﹕ OpenCV error: Cannot load info library for OpenCV 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Library list: "" 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ First attempt to load libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to init OpenCV libs 05-08 16:29:31.240 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Trying to load library opencv_java 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect D/OpenCV/StaticHelper﹕ Cannot load library "opencv_java" 05-08 16:29:31.241 7535-7535/org.opencv.samples.facedetect W/System.err﹕ java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libopencv_java.so"

Does anybody can help me?

UPDATE: If I install manager v3 APK I get the following error:

05-08 17:56:20.125 17630-17630/org.opencv.samples.facedetect E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: org.opencv.samples.facedetect, PID: 17630 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libdetection_based_tracker.so"

android mk:

LOCAL_PATH := $(call my-dir)

my-dir) include $(CLEAR_VARS)

OPENCV_CAMERA_MODULES:=off

OPENCV_INSTALL_MODULES:=off

OPENCV_LIB_TYPE:=SHARED

include C:\Users\lbais\Documents\OpenCV-android-sdk\sdk\native\jni\OpenCV.mk

C:\Users\lbais\Documents\OpenCV-android-sdk\sdk\native\jni\OpenCV.mk LOCAL_SRC_FILES := DetectionBasedTracker_jni.cpp LOCAL_C_INCLUDES += $(LOCAL_PATH) LOCAL_LDLIBS += -llog -ldl-ldl LOCAL_MODULE := detection_based_tracker include $(BUILD_SHARED_LIBRARY)

LOCAL_MODULE := detection_based_trackerCompile output:

include $(BUILD_SHARED_LIBRARY)C:\Users\lbais\Documents\face-detection\openCVSamplefacedetection\src\main\jni>n dk-build Android NDK: WARNING:C:/Users/lbais/Documents/face-detection/openCVSamplefacedet ection/src/main//jni/Android.mk:detection_based_tracker: non-system libraries in linker flags: -lopencv_java Android NDK: This is likely to result in incorrect builds. Try using LOCAL_S TATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependenc ies of the Android NDK: current module [armeabi-v7a] Compile++ thumb: detection_based_tracker <= DetectionBasedTracker_ jni.cpp [armeabi-v7a] SharedLibrary : libdetection_based_tracker.so C:/Users/lbais/AppData/Local/Android/ndk/toolchains/arm-linux-androideabi-4.8/pr ebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-l inux-androideabi/bin/ld.exe: warning: hidden symbol '__aeabi_atexit' in C:/Users /lbais/AppData/Local/Android/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi- v7a/thumb/libgnustl_static.a(atexit_arm.o) is referenced by DSO C:/Users\lbais\D ocuments\OpenCV-android-sdk\sdk\native\jni\/../libs/armeabi-v7a/libopencv_java.s o [armeabi-v7a] Install : libdetection_based_tracker.so => libs/armeabi-v7a /libdetection_based_tracker.so

Error: 05-08 18:03:16.179 21367-21367/org.opencv.samples.facedetect E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: org.opencv.samples.facedetect, PID: 21367 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libdetection_based_tracker.so" at java.lang.Runtime.loadLibrary(Runtime.java:366)

Full log:

05-08 18:03:16.123 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Trying to init OpenCV libs 05-08 18:03:16.123 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Trying to load library /data/app/org.opencv.engine3-1/lib/arm/libopencv_java.so 05-08 18:03:16.169 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ OpenCV libs init was ok! 05-08 18:03:16.169 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ First attempt to load libs is OK 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.172 21367:21367 I/OpenCVManager/Helper ] General configuration for OpenCV 3.0.0-rc1 ===================================== 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Version control: 3.0.0-rc1 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.172 21367:21367 I/OpenCVManager/Helper ] Platform: 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Host: Darwin 13.2.0 i386 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Target: Linux 1 armv7-a 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ CMake: 2.8.12.2 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ CMake generator: Ninja 05-08 18:03:16.172 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ CMake build tool: /usr/local/bin/ninja 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Configuration: Release 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ] C/C++: 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Built as dynamic libs?: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C++ Compiler: /opt/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++ (ver 4.7) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C++ flags (Release): -fexceptions -frtti -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C++ flags (Debug): -fexceptions -frtti -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -O0 -DDEBUG -D_DEBUG 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C Compiler: /opt/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C flags (Release): -fexceptions -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG -DNDEBUG 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C flags (Debug): -fexceptions -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG -O0 -DDEBUG -D_DEBUG 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Linker flags (Release): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Linker flags (Debug): -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Precompiled headers: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ] OpenCV modules: 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ To be built: hal core flann imgproc ml photo video androidcamera imgcodecs shape videoio highgui objdetect superres ts features2d calib3d java stitching videostab 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Disabled: world 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Disabled by dependency: - 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev python2 viz 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ] Android: 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Android ABI: armeabi-v7a with NEON 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ STL type: gnustl_static 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Native API level: android-8 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ SDK target: android-14 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Android NDK: /opt/android/android-ndk-r8e (toolchain: arm-linux-androideabi-4.7) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ android tool: /opt/android/android-sdk-macosx/tools/android (Android SDK Tools, revision 24.1.2.) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Google Play package: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Android examples: YES 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ] GUI: 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GTK+: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GThread : NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GtkGlExt: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ OpenGL support: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ VTK support: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ] Media I/O: 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ ZLib: z (ver 1.2.3) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ JPEG: build (ver 90) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ WEBP: build (ver 0.3.1) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ PNG: build (ver 1.5.12) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ TIFF: build (ver 42 - 4.0.2) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ JPEG 2000: build (ver 1.900.1) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ OpenEXR: build (ver 1.7.1) 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GDAL: NO 05-08 18:03:16.173 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ] Video I/O: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ AndroidNativeCamera: YES, use prebuilt libraries 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Other third-party libraries: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use IPP: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use Eigen: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use TBB: YES (ver 4.1 interface 6102) 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use OpenMP: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use GCD NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use Concurrency NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use C=: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use Cuda: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use OpenCL: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Python 2: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Interpreter: /usr/bin/python2.7 (ver 2.7.5) 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Python 3: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Interpreter: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Python (for build): /usr/bin/python2.7 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Java: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ ant: /usr/local/bin/ant (ver 1.9.4) 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Java wrappers: YES 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Java tests: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Matlab: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ mex: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Tests and samples: 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Tests: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Performance tests: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C/C++ Examples: NO 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] Install path: /builds/master_pack-android/sdk-buildpack/builds/manager_neon_apilevel8/install 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ] cvconfig.h is in: /builds/master_pack-android/sdk-buildpack/builds/manager_neon_apilevel8 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ ----------------------------------------------------------------- 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Init finished with status 0 05-08 18:03:16.174 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Unbind from service 05-08 18:03:16.177 21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Calling using callback 05-08 18:03:16.177 21367-21367/org.opencv.samples.facedetect I/OCVSample::Activity﹕ OpenCV loaded successfully 05-08 18:03:16.178 21367-21367/org.opencv.samples.facedetect D/AndroidRuntime﹕ Shutting down VM --------- beginning of crash 05-08 18:03:16.179 21367-21367/org.opencv.samples.facedetect E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: org.opencv.samples.facedetect, PID: 21367 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libdetection_based_tracker.so" at java.lang.Runtime.loadLibrary(Runtime.java:366) at java.lang.System.loadLibrary(System.java:989) at org.opencv.samples.facedetect.FdActivity$1.onManagerConnected(FdActivity.java:67) at org.opencv.android.AsyncServiceHelper$3.onServiceConnected(AsyncServiceHelper.java:319)

click to hide/show revision 5
No.5 Revision

updated 2015-05-09 01:58:49 -0600

berak gravatar image

package not found - issue building libdetection_based_tracker.so

Hi there! I'm trying to run face-detection sample over Android Studio (on windows...) I'm testing the app in a MotoG (ARM) and the following Application and Android mk.

in my project I have: src\main\libs\armeabi-v7a\ but just the file libdetection_based_tracker.so

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

OPENCV_CAMERA_MODULES:=off

OPENCV_INSTALL_MODULES:=off

OPENCV_LIB_TYPE:=SHARED

$(CLEAR_VARS) #OPENCV_CAMERA_MODULES:=off #OPENCV_INSTALL_MODULES:=off #OPENCV_LIB_TYPE:=SHARED include C:\Users\lbais\Documents\OpenCV-android-sdk\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)

$(BUILD_SHARED_LIBRARY)

Compile output:

C:\Users\lbais\Documents\face-detection\openCVSamplefacedetection\src\main\jni>n
dk-build
Android NDK: WARNING:C:/Users/lbais/Documents/face-detection/openCVSamplefacedet
ection/src/main//jni/Android.mk:detection_based_tracker: non-system libraries in
 linker flags: -lopencv_java
Android NDK:     This is likely to result in incorrect builds. Try using LOCAL_S
TATIC_LIBRARIES
Android NDK:     or LOCAL_SHARED_LIBRARIES instead to list the library dependenc
ies of the
Android NDK:     current module
[armeabi-v7a] Compile++ thumb: detection_based_tracker <= DetectionBasedTracker_
jni.cpp
[armeabi-v7a] SharedLibrary  : libdetection_based_tracker.so
C:/Users/lbais/AppData/Local/Android/ndk/toolchains/arm-linux-androideabi-4.8/pr
ebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-l
inux-androideabi/bin/ld.exe: warning: hidden symbol '__aeabi_atexit' in C:/Users
/lbais/AppData/Local/Android/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-
v7a/thumb/libgnustl_static.a(atexit_arm.o) is referenced by DSO C:/Users\lbais\D
ocuments\OpenCV-android-sdk\sdk\native\jni\/../libs/armeabi-v7a/libopencv_java.s
o
[armeabi-v7a] Install        : libdetection_based_tracker.so => libs/armeabi-v7a
/libdetection_based_tracker.so/libdetection_based_tracker.so

Error:

Error:

05-08 18:03:16.179  21367-21367/org.opencv.samples.facedetect E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: org.opencv.samples.facedetect, PID: 21367
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libdetection_based_tracker.so"
            at java.lang.Runtime.loadLibrary(Runtime.java:366)

java.lang.Runtime.loadLibrary(Runtime.java:366)

Full log:

05-08 18:03:16.123  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Trying to init OpenCV libs
05-08 18:03:16.123  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Trying to load library /data/app/org.opencv.engine3-1/lib/arm/libopencv_java.so
05-08 18:03:16.169  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ OpenCV libs init was ok!
05-08 18:03:16.169  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ First attempt to load libs is OK
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.172 21367:21367 I/OpenCVManager/Helper ]
    General configuration for OpenCV 3.0.0-rc1 =====================================
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Version control:               3.0.0-rc1
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.172 21367:21367 I/OpenCVManager/Helper ]
    Platform:
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Host:                        Darwin 13.2.0 i386
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Target:                      Linux 1 armv7-a
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ CMake:                       2.8.12.2
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ CMake generator:             Ninja
05-08 18:03:16.172  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ CMake build tool:            /usr/local/bin/ninja
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Configuration:               Release
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ]
    C/C++:
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Built as dynamic libs?:      NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C++ Compiler:                /opt/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++  (ver 4.7)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C++ flags (Release):         -fexceptions -frtti -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C++ flags (Debug):           -fexceptions -frtti -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -fvisibility-inlines-hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C Compiler:                  /opt/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-gcc
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C flags (Release):           -fexceptions -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -mthumb -fomit-frame-pointer -fno-strict-aliasing -O3 -DNDEBUG  -DNDEBUG
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C flags (Debug):             -fexceptions -fpic -Wno-psabi --sysroot=/opt/android/android-ndk-r8e/platforms/android-8/arch-arm -funwind-tables -finline-limit=64 -fsigned-char -no-canonical-prefixes -march=armv7-a -mfloat-abi=softfp -mfpu=neon -fdata-sections -ffunction-sections -Wa,--noexecstack    -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -fomit-frame-pointer -mfpu=neon -fvisibility=hidden -marm -fno-omit-frame-pointer -fno-strict-aliasing -O0 -g -DDEBUG -D_DEBUG  -O0 -DDEBUG -D_DEBUG
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Linker flags (Release):      -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Linker flags (Debug):        -Wl,--fix-cortex-a8 -Wl,--no-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Precompiled headers:         NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ]
    OpenCV modules:
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ To be built:                 hal core flann imgproc ml photo video androidcamera imgcodecs shape videoio highgui objdetect superres ts features2d calib3d java stitching videostab
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Disabled:                    world
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Disabled by dependency:      -
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Unavailable:                 cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev python2 viz
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ]
    Android:
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Android ABI:                 armeabi-v7a with NEON
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ STL type:                    gnustl_static
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Native API level:            android-8
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ SDK target:                  android-14
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Android NDK:                 /opt/android/android-ndk-r8e (toolchain: arm-linux-androideabi-4.7)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ android tool:                /opt/android/android-sdk-macosx/tools/android (Android SDK Tools, revision 24.1.2.)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Google Play package:         NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Android examples:            YES
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ]
    GUI:
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GTK+:                        NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GThread :                    NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GtkGlExt:                    NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ OpenGL support:              NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ VTK support:                 NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ]
    Media I/O:
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ ZLib:                        z (ver 1.2.3)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ JPEG:                        build (ver 90)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ WEBP:                        build (ver 0.3.1)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ PNG:                         build (ver 1.5.12)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ TIFF:                        build (ver 42 - 4.0.2)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ JPEG 2000:                   build (ver 1.900.1)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ OpenEXR:                     build (ver 1.7.1)
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ GDAL:                        NO
05-08 18:03:16.173  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.173 21367:21367 I/OpenCVManager/Helper ]
    Video I/O:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ AndroidNativeCamera:         YES, use prebuilt libraries
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Other third-party libraries:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use IPP:                     NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use Eigen:                   NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use TBB:                     YES (ver 4.1 interface 6102)
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use OpenMP:                  NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use GCD                      NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use Concurrency              NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use C=:                      NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use Cuda:                    NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Use OpenCL:                  NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Python 2:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Interpreter:                 /usr/bin/python2.7 (ver 2.7.5)
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Python 3:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Interpreter:                 NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Python (for build):            /usr/bin/python2.7
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Java:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ ant:                         /usr/local/bin/ant (ver 1.9.4)
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Java wrappers:               YES
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Java tests:                  NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Matlab:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ mex:                         NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Tests and samples:
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Tests:                       NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ Performance tests:           NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ C/C++ Examples:              NO
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    Install path:                  /builds/master_pack-android/sdk-buildpack/builds/manager_neon_apilevel8/install
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ [ 05-08 18:03:16.174 21367:21367 I/OpenCVManager/Helper ]
    cvconfig.h is in:              /builds/master_pack-android/sdk-buildpack/builds/manager_neon_apilevel8
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect I/OpenCVManager/Helper﹕ -----------------------------------------------------------------
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Init finished with status 0
05-08 18:03:16.174  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Unbind from service
05-08 18:03:16.177  21367-21367/org.opencv.samples.facedetect D/OpenCVManager/Helper﹕ Calling using callback
05-08 18:03:16.177  21367-21367/org.opencv.samples.facedetect I/OCVSample::Activity﹕ OpenCV loaded successfully
05-08 18:03:16.178  21367-21367/org.opencv.samples.facedetect D/AndroidRuntime﹕ Shutting down VM
    --------- beginning of crash
05-08 18:03:16.179  21367-21367/org.opencv.samples.facedetect E/AndroidRuntime﹕ FATAL EXCEPTION: main
    Process: org.opencv.samples.facedetect, PID: 21367
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libdetection_based_tracker.so"
            at java.lang.Runtime.loadLibrary(Runtime.java:366)
            at java.lang.System.loadLibrary(System.java:989)
            at org.opencv.samples.facedetect.FdActivity$1.onManagerConnected(FdActivity.java:67)
            at org.opencv.android.AsyncServiceHelper$3.onServiceConnected(AsyncServiceHelper.java:319)

org.opencv.android.AsyncServiceHelper$3.onServiceConnected(AsyncServiceHelper.java:319)