React-Native应用在某些Android手机中崩溃

时间:2019-11-13 05:36:24

标签: android react-native

我的React-Native应用在某些装有 OS 9 版本的三星设备中崩溃。在所有其他设备上都可以正常工作。应用程序的React-Native版本为 0.57.5 。在这里,我正在上传屏幕截图。对于运行正常的 Samsung Exynos 7870 ,对于运行崩溃的 Samsung A30

enter image description here

这里是场景:我安装了应用程序,启动屏幕启动,然后崩溃。

Android Studio崩溃日志:

2019-11-04 15:35:28.451 13820-14072/com.openchair E/SoLoader: Error when loading lib: dlopen failed: "/data/data/com.openchair/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit lib hash: 38a149cf3f94c06f35444ea1c5280541 search path is /data/app/com.openchair-RKWR45KUxyRawC30KCnIFQ==/lib/arm64
2019-11-04 15:35:28.451 13820-14072/com.openchair E/SoLoader: couldn't find DSO to load: libgnustl_shared.so caused by: dlopen failed: "/data/data/com.openchair/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
2019-11-04 15:35:28.451 13820-14072/com.openchair E/SoLoader: 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.openchair/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
2019-11-04 15:35:28.452 13820-14072/com.openchair E/SoLoader: 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.openchair/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
2019-11-04 15:35:28.452 13820-14072/com.openchair E/SoLoader: 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.openchair/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
2019-11-04 15:35:28.453 13820-14072/com.openchair E/AndroidRuntime: FATAL EXCEPTION: Thread-8
    Process: com.openchair, PID: 13820
    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.openchair/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(Thread.java:764)

您能帮我吗?预先谢谢你。

0 个答案:

没有答案