upgrade-support
upgrade-support copied to clipboard
Android: the demo so is always crash when migrate to my application
Environment
I had download the demo through this command: npx react-native init SampleApp --version 0.70.0
I had try migrate the demo code in sample app android to my application, I found a crash:
12-27 18:35:24.508 24089 24572 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8facebook5react5Props24enablePropIteratorSetterE" referenced by "/data/app/~~UXICWlN_UKU59_9hXpY4bQ==/com.MyApplication.debug-LkEnUR2BWD8es6bfKiU1DQ==/lib/arm64/libsampleapp_appmodules.so"... 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at java.lang.Runtime.load0(Runtime.java:929) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at java.lang.System.load(System.java:1620) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at com.facebook.soloader.SoLoader$1.load(SoLoader.java:650) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:115) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:68) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at com.facebook.soloader.ApplicationSoSource.loadLibrary(ApplicationSoSource.java:92) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1168) 12-27 18:35:24.508 24089 24572 E AndroidRuntime: ... 15 more
Things I’ve done to figure out my issue
- [ ] I used upgrade-helper to do my upgrade.
Upgrading version
Description
I had completed upgrade ReactNative to 0.70 in MyApplication. and want use turbo module in MyApplication. but First I want to run the demo, and it have a crash.