Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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.

click to hide/show revision 3
retagged

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.

click to hide/show revision 4
i have added the LogCat

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.909: I/ApplicationPackageManager(23512): cscCountry is not German : INU

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)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1064)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1081)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.os.Handler.handleCallback(Handler.java:587)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.os.Handler.dispatchMessage(Handler.java:92)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.os.Looper.loop(Looper.java:130)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.app.ActivityThread.main(ActivityThread.java:3687)

12-02 17:17:29.289: E/AndroidRuntime(23512): at java.lang.reflect.Method.invokeNative(Native Method)

12-02 17:17:29.289: E/AndroidRuntime(23512): at java.lang.reflect.Method.invoke(Method.java:507)

12-02 17:17:29.289: E/AndroidRuntime(23512): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)

12-02 17:17:29.289: E/AndroidRuntime(23512): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)

12-02 17:17:29.289: E/AndroidRuntime(23512): at dalvik.system.NativeStart.main(Native Method)

click to hide/show revision 5
No.5 Revision

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.909: I/ApplicationPackageManager(23512): cscCountry is not German : INU

org.opencv.samples.fd. 12-02 17:17:28.919: I/OCVSample::Activity(23512): called onCreate

onCreate 12-02 17:17:28.919: I/OCVSample::Activity(23512): called onResume

onResume 12-02 17:17:28.919: I/OCVSample::Activity(23512): Trying to load OpenCV library

library 12-02 17:17:28.949: D/OpenCVManager/Helper(23512): Service connection created

created 12-02 17:17:28.949: D/OpenCVManager/Helper(23512): Trying to get library path

path 12-02 17:17:29.129: D/OpenCVManager/Helper(23512): Trying to get library list

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

libs 12-02 17:17:29.189: D/OpenCVManager/Helper(23512): Trying to init OpenCV libs

libs 12-02 17:17:29.189: D/OpenCVManager/Helper(23512): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so

/data/data/org.opencv.engine/lib/libopencv_java.so 12-02 17:17:29.279: D/OpenCVManager/Helper(23512): OpenCV libs init was ok!

ok! 12-02 17:17:29.279: D/OpenCVManager/Helper(23512): First attempt to load libs is OK

OK 12-02 17:17:29.279: D/OpenCVManager/Helper(23512): Init finished with status 0

0 12-02 17:17:29.279: D/OpenCVManager/Helper(23512): Unbind from service

service 12-02 17:17:29.279: D/OpenCVManager/Helper(23512): Calling using callback

callback 12-02 17:17:29.289: I/OCVSample::Activity(23512): OpenCV loaded successfully

successfully 12-02 17:17:29.289: D/AndroidRuntime(23512): Shutting down VM

VM 12-02 17:17:29.289: W/dalvikvm(23512): threadid=1: thread exiting with uncaught exception (group=0x40018578)

(group=0x40018578) 12-02 17:17:29.289: E/AndroidRuntime(23512): FATAL EXCEPTION: main

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)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1064)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1081)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.os.Handler.handleCallback(Handler.java:587)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.os.Handler.dispatchMessage(Handler.java:92)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.os.Looper.loop(Looper.java:130)

12-02 17:17:29.289: E/AndroidRuntime(23512): at android.app.ActivityThread.main(ActivityThread.java:3687)

12-02 17:17:29.289: E/AndroidRuntime(23512): at java.lang.reflect.Method.invokeNative(Native Method)

12-02 17:17:29.289: E/AndroidRuntime(23512): at java.lang.reflect.Method.invoke(Method.java:507)

12-02 17:17:29.289: E/AndroidRuntime(23512): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)

12-02 17:17:29.289: E/AndroidRuntime(23512): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)

12-02 17:17:29.289: E/AndroidRuntime(23512): at dalvik.system.NativeStart.main(Native Method)

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) ...