centrifuge-android
centrifuge-android copied to clipboard
Fatal Exception: java.lang.UnsatisfiedLinkError centrifuge-android
We use centrifuge lib to communicate with Sockets. Everything works well but this code :
val credentials = Centrifuge.newCredentials( getCurrentUserId(), webSocketToken.timestamp, EMPTY_STRING, webSocketToken.token ) throws this error, it only happens with android based on arm structure. Here is the output:
Fatal Exception: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.namba-_dbpnhlp0R3PyG4erhR_2w==/base.apk"],nativeLibraryDirectories=[/data/app/com.namba-_dbpnhlp0R3PyG4erhR_2w==/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libgojni.so"
at java.lang.Runtime.loadLibrary0 + 1012(Runtime.java:1012)
at java.lang.System.loadLibrary + 1669(System.java:1669)
at go.LoadJNI.
https://stackoverflow.com/questions/57494416/fatal-exception-java-lang-unsatisfiedlinkerror-centrifuge-android?noredirect=1#comment101458558_57494416
@NurseyitTursunkulov hello! This library is not maintained anymore as its maintainer just gone... I can only suggest you to take a look at Centrifugo v2 and its actual list of supported libraries: https://centrifugal.github.io/centrifugo/libraries/client/
If you can help maintaining this library – please tell and we will think what we can do.