java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libjnigraphics.so" needed by "libgif.so"; caused by could not load library "/system/lib/liblogg.so? needed by "libjnigraphics.so"; caused by library "/system/lib/liblogg.so? not found

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Add an Application.mk file next to your Android.mk file and make APP_PLATFORM to be equal to your minSdkVersion.

,
Expert tip

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.

Solutions on the web

via GitHub by seker
, 11 months ago
dlopen failed: could not load library "libjnigraphics.so" needed by "libgif.so"; caused by could not load library "/system/lib/liblogg.so? needed by "libjnigraphics.so"; caused by library "/system/lib/liblogg.so? not found
via GitHub by ZWPDean
, 11 months ago
com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader[...nativeLibraryDirectories=[/data/app/com.aibasis.xiaole_chat-1/lib/arm64, /vendor/lib64, /system/lib64, /vendor/lib64, /system/lib64]]] couldn't find "libpl_droidsonroids_gif.so"
via xda-developers.com by Unknown author, 1 year ago
dlopen failed: could not load library "libtaglib.so" needed by "libaudioinfo_jni.so"; caused by library "libtaglib.so" not found
via Stack Overflow by gcgrant
, 2 years ago
dlopen failed: could not load library "libavfilter.so" needed by "videocrop.so"; caused by cannot locate symbol "avcodec_find_best_pix_fmt_of_2" referenced by "libavfilter.so"...
via GitHub by grennis
, 2 years ago
Cannot load library: soinfo_link_image(linker.cpp:1652): could not load library "libiconv.so" needed by "libzbarjni.so"; caused by load_library(linker.cpp:759): library "libiconv.so" not found
via Stack Overflow by Unknown author, 2 years ago
Cannot load library: soinfo_link_image(linker.cpp:1635): could not load library "libopencv_java.so" needed by "libjniVideoCapture.so"; caused by load_library(linker.cpp:745): library "libopencv_java.so" not found
java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libjnigraphics.so" needed by "libgif.so"; caused by could not load library "/system/lib/liblogg.so? needed by "libjnigraphics.so"; caused by library "/system/lib/liblogg.so? not found
at java.lang.Runtime.loadLibrary(Runtime.java:371)
at java.lang.System.loadLibrary(System.java:526)
at pl.droidsonroids.gif.GifInfoHandle.(Unknown Source)
at pl.droidsonroids.gif.GifDrawable.(Unknown Source)

Users with the same issue

Once, 3 weeks ago
159 times, 2 months ago
4 times, 6 months ago
8 times, 9 months ago
3 times, 9 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.