Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Created October 6, 2014 08:16
Show Gist options
  • Save melvincabatuan/7e1dbfe4f1e0f859b654 to your computer and use it in GitHub Desktop.
Save melvincabatuan/7e1dbfe4f1e0f859b654 to your computer and use it in GitHub Desktop.
[Solved] findLibrary returned null
10-06 15:49:30.348 15675-15675/com.cabatuan.opencvnative W/dalvikvm﹕ Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/cabatuan/opencvnative/AsynCamPreview;
10-06 15:49:30.358 15675-15675/com.cabatuan.opencvnative D/AndroidRuntime﹕ Shutting down VM
10-06 15:49:30.358 15675-15675/com.cabatuan.opencvnative W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x2b542210)
10-06 15:49:30.358 15675-15675/com.cabatuan.opencvnative E/AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
at com.cabatuan.opencvnative.Main.onCreate(Main.java:36)
at android.app.Activity.performCreate(Activity.java:4465)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
at android.app.ActivityThread.access$600(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4441)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load ImageProcessing: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:535)
at com.cabatuan.opencvnative.AsynCamPreview.<clinit>(AsynCamPreview.java:52)
            at com.cabatuan.opencvnative.Main.onCreate(Main.java:36)
            at android.app.Activity.performCreate(Activity.java:4465)
            at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
            at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
            at android.app.ActivityThread.access$600(ActivityThread.java:127)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
            at android.os.Handler.dispatchMessage(Handler.java:99)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:4441)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
            at dalvik.system.NativeStart.main(Native Method)
SOLUTION:
Back-up *.so files in /app/libs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment