We've setup our react-native project with the react-native-template-typescript and we're using react-native-reanimated@2.2.0. It looks like 0.64.0-patch.0 isn't working with reanimated due to libjsc.so being excluded in packagingOptions as instructed by the README:
2021-06-01 17:17:52.898 16888-17612/com.testapp E/AndroidRuntime: FATAL EXCEPTION: create_react_context
Process: com.testapp, PID: 16888
java.lang.UnsatisfiedLinkError: dlopen failed: library "libjsc.so" not found: needed by /data/app/~~f11IRWbIPWNh9lR7rLgb1w==/com.testapp-JXXVu5SfxC7E-nrBFfYAqQ==/lib/arm64/libjscexecutor.so in namespace classloader-namespace
at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
at java.lang.System.loadLibrary(System.java:1664)
at com.swmansion.reanimated.NativeProxy.<clinit>(NativeProxy.java:22)
at com.swmansion.reanimated.NodesManager.initWithContext(NodesManager.java:127)
at com.swmansion.reanimated.ReanimatedJSIModulePackage.getJSIModules(ReanimatedJSIModulePackage.java:18)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1265)
at com.facebook.react.ReactInstanceManager.access$1100(ReactInstanceManager.java:131)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1023)
at java.lang.Thread.run(Thread.java:923)
Any clues how we could resolve this issue? Any tips are welcome!
Hey there!
We've setup our react-native project with the react-native-template-typescript and we're using react-native-reanimated@2.2.0. It looks like
0.64.0-patch.0
isn't working with reanimated due tolibjsc.so
being excluded inpackagingOptions
as instructed by the README:Any clues how we could resolve this issue? Any tips are welcome!