java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.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

,
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.

,

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

Solutions on the web

via GitHub by sphaero
, 1 year ago
dlopen failed: library "libgnustl_shared.so" not found
via GitHub by hintjens
, 1 year ago
dlopen failed: library "libgnustl_shared.so" not found
via GitHub by arpitkh96
, 1 year ago
dlopen failed: library "libdl.so.2" not found
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 Stack Overflow by Lucas Teske
, 1 year ago
dlopen failed: could not load library "/home/lucas/Rockspoon/satlib/Android/app/src/main/obj/local/armeabi/libsat-tanca.so" needed by "libsat-jni.so"; caused by library "/home/lucas/Rockspoon/satlib/Android/app/src/main/obj/local/armeabi/libsat-tanca.so" not found
java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.so" not found
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:1076)
at org.z25.zyretest.ZyreTest.onCreate(ZyreTest.java:16)
at android.app.Activity.performCreate(Activity.java:6237)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)

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.