java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libc++_shared.so caused by: couldn't find DSO to load: libc.
I'm getting this very strange error with an old (free) version of the lib for Android
Code: Select all
implementation("com.tuya.smart:tuyasmart:3.26.5")
the code itself is trivial:
Code: Select all
TuyaHomeSdk.setDebugMode(true);
TuyaSmartSdk.setDebugMode(true);
TuyaSmartSdk.init(getApplication());
TuyaSdk.init(getApplication(), TuyaSmartSdk.getAppkey(), TuyaSmartSdk.getAppSecret()); // <= here it dumps!
This the logs content:
Code: Select all
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libc++_shared.so caused by: couldn't find DSO to load: libc.so
at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:789)
at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:639)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:577)
at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:525)
at com.tuya.smart.security.load.TuyaLibraryLoader.securityLoadLibrary(TuyaLibraryLoader.java:17)
at com.tuya.smart.security.jni.JNICLibrary.doCommandNative(JNICLibrary.java:9)
at com.tuya.sdk.network.OooO00o.OooO00o(TuyaNetworkSecurityInit.java:1)
at com.tuya.smart.android.network.TuyaSmartNetWork.initialize(TuyaSmartNetWork.java:35)
at com.tuya.smart.sdk.TuyaSdk.initTuyaData(TuyaSdk.java:74)
at com.tuya.smart.sdk.TuyaSdk.init(TuyaSdk.java:146)
at com.tuya.smart.sdk.TuyaSdk.init(TuyaSdk.java:57)
It's clearly stating that it cannot log libc.so, which should however be part of the Android system
Any hint on how to troubleshoot this?