Open arasrezaei opened 2 years ago
Try removing exclude "**/libjsc.so"
from your android/app/build.gradle
Try removing
exclude "**/libjsc.so"
from yourandroid/app/build.gradle
Thanks, but with this method Javascript thread runs with V8 and for example reanimated worklets run with JSC. (Am I right?) And having two engines will result in a large app size!
I got the same exact error but with v0.65 of react-native-v8. Any help appreciated!
@Kudo Do you know how to solve this? Thanks
@Kudo I have already made the necessary changes here: https://github.com/lkinasiewicz/react-native-reanimated/commits/v8/2.3.1 - the last two commits.
Please let me know if you can create v8/2.3.1
branch in your repo so that I can make a pull request, or you can just cherry-pick my changes. I have tested this with RN 0.66.3 and works on Android (v8), Android TV (v8) and iOS (jsc). 0.65.2 should also work, but I haven't checked.
If anybody needs it now, you can use it this way:
wget
, gradle
and other android tools installedyarn
./createNPMPackage.sh
yarn add ./react-native-reanimated-2.3.1.tgz; yarn
This is so painful to keep react-native, react-native-reanimated, and react-native-v8 all in sync.
I hope the reanimated team can officially support v8 soon. It's been months and haven't heard anything..
0.67 just got published - has anyone tried to see if it works with reanimated?
Hi there, thanks for this great package, I tried to test reanimated with V8 but it crushes the app while opening:
I also tried your fork of reanimared (with changing reanimated arr from v0.65 to 0.66 :)) and this time got this error this time:
is it possible to fix this?