java.lang.IllegalStateException: Load library failed!

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.

Solutions on the web

java.lang.IllegalStateException: Load library failed!
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:259)
at io.netty.util.internal.NativeLibraryLoader$1.run(NativeLibraryLoader.java:261)
at io.netty.util.internal.NativeLibraryLoader.loadLibraryByHelper(NativeLibraryLoader.java:250)
at io.netty.util.internal.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:242)
at io.netty.util.internal.NativeLibraryLoader.load(NativeLibraryLoader.java:194)
at io.netty.util.internal.NativeLibraryLoader.loadFirstAvailable(NativeLibraryLoader.java:166)
at io.netty.handler.ssl.OpenSsl.loadTcNative(OpenSsl.java:380)
at io.netty.handler.ssl.OpenSsl.(OpenSsl.java:99)
at io.netty.handler.ssl.ReferenceCountedOpenSslContext.(ReferenceCountedOpenSslContext.java:206)
at io.netty.handler.ssl.ReferenceCountedOpenSslContext.(ReferenceCountedOpenSslContext.java:198)
at io.netty.handler.ssl.OpenSslContext.(OpenSslContext.java:34)
at io.netty.handler.ssl.OpenSslClientContext.(OpenSslClientContext.java:187)
at io.netty.handler.ssl.SslContext.newClientContextInternal(SslContext.java:753)
at io.netty.handler.ssl.SslContextBuilder.build(SslContextBuilder.java:397)

Users with the same issue

24 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
281 more bugmates

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