Android向64位添加支持时:找不到DSO问题

时间:2019-08-09 04:27:29

标签: android react-native-android x86-64 arm64

我刚刚通过使用 ndk.abiFilters'armeabi-v7a','x86','arm64-v8a'添加了对64位的支持,因为Google Play商店不允许在不支持64位的情况下上传APK 。我的应用程序也有一些本机代码

转换后出现错误

 java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libreactnativejni.so caused by: couldn't find DSO to load: libglog_init.so caused by: couldn't find DSO to load: libglog.so caused by: couldn't find DSO to load: libgnustl_shared.so caused by: dlopen failed: "/data/data/com.teamta.mentouraviation/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
    at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:703)
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:564)
    at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:500)
    at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:455)
    at com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:18)
    at com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:19)
    at com.facebook.react.bridge.JSCJavaScriptExecutorFactory.create(JSCJavaScriptExecutorFactory.java:21)
    at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:917)
    at java.lang.Thread.run

通过分析apk,发现找不到要加载的DSO:libglog_init.so     找不到要加载的DSO:libglog.so     找不到要加载的DSO:libgnustl_shared.so 文件在“ arm64-v8a

中混合在一起

1 个答案:

答案 0 :(得分:0)

只需将您的jitsi sdk升级到最新更新Jitsi Meet SDK for Android