Problem working with Native Apps
When i try to run the Add Native OpenCV or any other app involving the ndk i get the following error on my phone. "The application OCV Face Detection(process org.opencv.samples.fd) has stopped unexpectedly. please try again" I installed the required apks required via google play. Please could you help me out with the problem.
This is the LogCat
12-02 17:17:28.909: I/OCVSample::Activity(23512): Instantiated new class org.opencv.samples.fd.
12-02 17:17:28.919: I/OCVSample::Activity(23512): called onCreate
12-02 17:17:28.919: I/OCVSample::Activity(23512): called onResume
12-02 17:17:28.919: I/OCVSample::Activity(23512): Trying to load OpenCV library
12-02 17:17:28.949: D/OpenCVManager/Helper(23512): Service connection created
12-02 17:17:28.949: D/OpenCVManager/Helper(23512): Trying to get library path
12-02 17:17:29.129: D/OpenCVManager/Helper(23512): Trying to get library list
12-02 17:17:29.189: D/OpenCVManager/Helper(23512): Library list: ""
12-02 17:17:29.189: D/OpenCVManager/Helper(23512): First attempt to load libs
12-02 17:17:29.189: D/OpenCVManager/Helper(23512): Trying to init OpenCV libs
12-02 17:17:29.189: D/OpenCVManager/Helper(23512): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so
12-02 17:17:29.279: D/OpenCVManager/Helper(23512): OpenCV libs init was ok!
12-02 17:17:29.279: D/OpenCVManager/Helper(23512): First attempt to load libs is OK
12-02 17:17:29.279: D/OpenCVManager/Helper(23512): Init finished with status 0
12-02 17:17:29.279: D/OpenCVManager/Helper(23512): Unbind from service
12-02 17:17:29.279: D/OpenCVManager/Helper(23512): Calling using callback
12-02 17:17:29.289: I/OCVSample::Activity(23512): OpenCV loaded successfully
12-02 17:17:29.289: D/AndroidRuntime(23512): Shutting down VM
12-02 17:17:29.289: W/dalvikvm(23512): threadid=1: thread exiting with uncaught exception (group=0x40018578)
12-02 17:17:29.289: E/AndroidRuntime(23512): FATAL EXCEPTION: main
12-02 17:17:29.289: E/AndroidRuntime(23512): java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker: findLibrary returned null
12-02 17:17:29.289: E/AndroidRuntime(23512): at java.lang.Runtime.loadLibrary(Runtime.java:429)
12-02 17:17:29.289: E/AndroidRuntime(23512): at java.lang.System.loadLibrary(System.java:554)
12-02 17:17:29.289: E/AndroidRuntime(23512): at org.opencv.samples.fd.FdActivity$1.onManagerConnected(FdActivity.java:38)
12-02 17:17:29.289: E/AndroidRuntime(23512): at org.opencv.android.AsyncServiceHelper$1.onServiceConnected(AsyncServiceHelper.java:206)
...
Could report your device model and Android version?
My device is samsung fit and android version is 2.3.4
i use eclipse ide
show us logcat output.
@Astor i have posted thee logcat output