Face Detection sample crashes on start up.

asked 2014-06-16 12:45:22 -0600

dmy7 gravatar image

updated 2014-06-17 05:07:56 -0600

berak gravatar image

When I try to use the Face Detection sample on my Android emulator, it crashes on start up. I haven't altered it and a few of the others I tried were able to start. Does someone see the issue in my error log? Thanks in advance

06-16 13:38:04.228: E/AndroidRuntime(1923): FATAL EXCEPTION: main
06-16 13:38:04.228: E/AndroidRuntime(1923): Process: org.opencv.samples.facedetect, PID: 1923
06-16 13:38:04.228: E/AndroidRuntime(1923): java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.opencv.samples.facedetect-1, /system/lib]]]: findLibrary returned null
06-16 13:38:04.228: E/AndroidRuntime(1923):     at java.lang.Runtime.loadLibrary(Runtime.java:358)
06-16 13:38:04.228: E/AndroidRuntime(1923): FATAL EXCEPTION: main
06-16 13:38:04.228: E/AndroidRuntime(1923): Process: org.opencv.samples.facedetect, PID: 1923
06-16 13:38:04.228: E/AndroidRuntime(1923): java.lang.UnsatisfiedLinkError: Couldn't load detection_based_tracker from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.facedetect-1.apk"],nativeLibraryDirectories=[/data/app-lib/org.opencv.samples.facedetect-1, /system/lib]]]: findLibrary returned null
06-16 13:38:04.228: E/AndroidRuntime(1923):     at java.lang.Runtime.loadLibrary(Runtime.java:358)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at java.lang.System.loadLibrary(System.java:526)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at org.opencv.samples.facedetect.FdActivity$1.onManagerConnected(FdActivity.java:66)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at org.opencv.android.AsyncServiceHelper$1.onServiceConnected(AsyncServiceHelper.java:318)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1110)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1127)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at android.os.Handler.handleCallback(Handler.java:733)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at android.os.Handler.dispatchMessage(Handler.java:95)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at android.os.Looper.loop(Looper.java:136)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at android.app.ActivityThread.main(ActivityThread.java:5017)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at java.lang.reflect.Method.invokeNative(Native Method)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at java.lang.reflect.Method.invoke(Method.java:515)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
06-16 13:38:04.228: E/AndroidRuntime(1923):     at dalvik.system.NativeStart.main(Native Method)
edit retag flag offensive close merge delete