Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoEmulation - Fatal Exception initFaceDetection #12

Closed
matiasfha opened this issue Sep 30, 2010 · 3 comments
Closed

VideoEmulation - Fatal Exception initFaceDetection #12

matiasfha opened this issue Sep 30, 2010 · 3 comments

Comments

@matiasfha
Copy link

(Sorry for my english)

Thanks for all your work...

I try to running de VideoEmulation to test... but the app Crash and Close.
In the LogCat window (Eclipse) i see this:

09-29 21:21:46.533: DEBUG/VideoEmulation(454): initFaceDetect
09-29 21:21:46.533: WARN/dalvikvm(454): No implementation found for native Lmsdark/proto/OpenCV;.initFaceDetection (Ljava/lang/String;)Z
09-29 21:21:46.533: DEBUG/AndroidRuntime(454): Shutting down VM
09-29 21:21:46.533: WARN/dalvikvm(454): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): FATAL EXCEPTION: main
09-29 21:21:46.553: ERROR/AndroidRuntime(454): java.lang.UnsatisfiedLinkError: initFaceDetection
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at msdark.proto.OpenCV.initFaceDetection(Native Method)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at msdark.proto.VideoEmulation.onResume(VideoEmulation.java:112)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.Activity.performResume(Activity.java:3823)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3118)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3143)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2684)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.os.Handler.dispatchMessage(Handler.java:99)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.os.Looper.loop(Looper.java:123)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at android.app.ActivityThread.main(ActivityThread.java:4627)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at java.lang.reflect.Method.invokeNative(Native Method)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at java.lang.reflect.Method.invoke(Method.java:521)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
09-29 21:21:46.553: ERROR/AndroidRuntime(454): at dalvik.system.NativeStart.main(Native Method)

The libopencv.so file is loaded i'm using System.load("/data/data/msdark.proto/libopencv.so"); to load the lib (i have trouble with the original method ).

If i don't wrong. The error means that the application call an inexistent method in native library.
How can i fix that?

Thanks a lot

@matiasfha
Copy link
Author

Solved

@billmccord
Copy link
Owner

I've never seen this, are you running with Android 1.6?

@billmccord
Copy link
Owner

Oh, I just saw you solved it, thanks.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants