无法使用 Expo (@realm/expo-template-ts) 引导 MongoDB Realm 应用程序

问题描述 投票:0回答:0

我想在我的 Android 设备(我在 Windows 10 上)的 Expo Development 客户端(expo-dev-client)中安装带有 Expo 的 MongoDB Realm 应用程序。

我遵循了“Bootstrap with Expo - React Native SDK”程序 https://www.mongodb.com/docs/realm/sdk/react-native/bootstrap-with-expo/一步一步。

Android 捆绑显然成功完成,但是当我在我的 Android 设备上的开发客户端的“开发服务器”屏幕中选择应用程序时,出现以下错误:

ERROR Error: Exception in HostObject::get(propName:Realm): java.lang.UnsatisfiedLinkError: couldn’t find DSO to load: librealm.so caused by: dlopen failed: cannot locate symbol “__emutls_get_address” referenced by “/data/app/~~RByWYhVyWSSKeF6nBOxNCg==/com.anonymous.realm11-yQ4HV5E7diRX4gos2lNp9w==/lib/arm64/librealm.so”… result: 0

ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.*
   A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native.*
ERROR Invariant Violation: Failed to call into JavaScript module method AppRegistry.runApplication(). Module has not been registered as callable. Registered callable JavaScript modules (n = 11): Systrace, JSTimers, HeapCapture, SamplingProfiler, RCTLog, RCTDeviceEventEmitter, RCTNativeAppEventEmitter, GlobalPerformanceLogger, JSDevSupportModule, HMRClient, RCTEventEmitter.*
   A frequent cause of the error is that the application entry file path is incorrect. This can also happen when the JS bundle is corrupt or there is an early initialization error when loading React Native*

最让我恼火的是,除了我已经在这个问题上浪费了几个小时之外,我没有更改@realm/expo-template-ts 模板中的任何内容。我可能错过了一些东西,但似乎 MongoDB 提供的模板和过程今天不起作用。

有什么想法吗?提前致谢

android mongodb expo realm expo-dev-client
© www.soinside.com 2019 - 2024. All rights reserved.