This repository has been archived by the owner on Jan 25, 2024. It is now read-only.
Replies: 2 comments 1 reply
-
Hi, the example Android setup can be found here. You could also try this example as well to see if it gives you any ideas. Please check it out and let me know if you got it working afterwards. There's also some so answers about this as well. Try fiddling with this in your gradle config as well if you want to set it manually
|
Beta Was this translation helpful? Give feedback.
0 replies
-
kmagick couldn't use on android studio emulator,cause it's x86 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Cannot config the project, I followed all steps but I still getting this error when I try to call
Magick.initialize()
. It wuould be great if you can have a full example project on how to setup it. I assume I miss some configs because I have all those.so
files injniLibs
folder as you described in/example
folder.java.lang.UnsatisfiedLinkError: dlopen failed: library "libkmagick.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1661)
at com.cherryleafroad.kmagick.Magick.(Magick.kt:15)
at com.test.snap.feature.edit_guest.view.TestActivity.testMagick(TestActivity.kt:217)
at com.test.snap.feature.edit_guest.view.TestActivity.onCreate(TestActivity.kt:43)
at android.app.Activity.performCreate(Activity.java:8290)
at android.app.Activity.performCreate(Activity.java:8270)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4085)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4277)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8751)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
Beta Was this translation helpful? Give feedback.
All reactions