I use image magic in my project, I get this from https://github.com/lilac/Android-ImageMagick after editing some code from this. when i compile this i get this error
02-27 11: 37: 05.329: E / AndroidRuntime (339): java.lang.ExceptionInInitializerError
here final MagickImage img = new MagickImage (new ImageInfo ("/sdcard/image.jpeg")); and this one
02-27 11: 37: 05.329: E / AndroidRuntime (339): called: java.lang.UnsatisfiedLinkError: android-magick library not found: init
here System.loadLibrary ("android-magick"); I'm new to this, please help me ..
this is logcat
02-27 11: 37: 05.329: E / AndroidRuntime (339): FATAL EXCEPTION: main 02-27 11: 37: 05.329: E / AndroidRuntime (339): java.lang.ExceptionInInitializerError 02-27 11: 37: 05.329: E / AndroidRuntime (339): at magick.AndroidMagickActivity.onCreate (AndroidMagickActivity.java:44) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1047 ) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2627) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android .app.ActivityThread.handleLaunchActivity (ActivityThread.java:2679) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.app.ActivityThread.access $ 2300 (ActivityThread.java:125) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.app.ActivityThread $ H.handleMessage (ActivityThread.java:2033) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.os.Handler .dispatchMessage (Handler.java:99) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.os.Looper.loop (Looper.java:123) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at android.app.ActivityThread.main (ActivityThread.java: 4627) 02-27 11: 37: 05.329: E / AndroidRuntime (339): with java.lang.reflect.Method.invokeNative (native method) 02-27 11: 37: 05.329: E / AndroidRuntime (339): in java .lang.reflect.Method.invoke (Method.javaPoint21) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java: 868) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:626) 02-27 11: 37: 05.329: E / AndroidRuntime ( 339): at dalvik.system.NativeStart.main (native method) 02-27 11: 37: 05.329: E / AndroidRuntime (339): called: java.lang.UnsatisfiedLinkError: android-magick library not found 02-27 11: 37: 05.329: E / AndroidRuntime (339): in java.lang.Runtime.loadLibrary (Runtime.java:461) 0 2-27 11: 37: 05.329: E / AndroidRuntime (339): in java.lang.System.loadLibrary (System.java∗57) 02-27 11: 37: 05.329: E / AndroidRuntime (339): at magick. Magick (Magick.java:41) 02-27 11: 37: 05.329: E / AndroidRuntime (339): ... 14 more
source share