I want to install MongoDB Realm app with Expo in an Expo Development client (expo-dev-client) on my Android device (I am on Windows 10).
I followed the “Bootstrap with Expo - React Native SDK” procedure at https://www.mongodb.com/docs/realm/sdk/react-native/bootstrap-with-expo/ step by step.
The Android Bundling completes successfully apparently but when I select the app in the “development servers” screen of the dev-client on my Android device I have the following error:
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**
What annoys me the most, apart from the fact that I lost hours on this problem already, is that I did not change anything in the @realm/expo-template-ts template. I may have missed something but it seems that the template and the procedure provided by MongoDB does not work today.
Any ideas? Thanks in advance