-
Notifications
You must be signed in to change notification settings - Fork 24.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to transform react-native-reanimated-65-jsc.aar #32037
Comments
Have you tried using the latest version of This issue seems to suggest that versions above v2.3.0 (still in alpha) should work. |
As mentioned above, |
new NativeEventEmitter() was called with a non-null argument without the required addListener method. and it says that a variable named "shouldUseWeb' and an Appregistry error those shows in the console even i have reanimated or not in my package.json |
With Reanimated alpha.2, all RN 0.65.0 changes (upgrade-helper), all npm and gradle/maven dependencies, plugins etc updated to the latest versions, the app does not crash, but I get the following yellow box warnings:
|
@tapz same here but i got an AppRegistery error after those yellow warnings |
I also resolved this issue with: Update: This did not work, the app will build, but when I try to run it, it fails, same error messages everyone else is reporting. |
Were you able to resolve this? I thought I had fixed the issue with |
So you haven't seen the |
@AlphaJuliettOmega I have never seen |
@tapz on my dev build, the RN 0.65.1 update + the reanimated Alpha 2 causes a 'function is undefined' error for It's something to do with the I stashed the .64 -> .65.1 migration for now (which I want to do with a reanimated update), the speed improvements seem real in our application at first glance but I do not want to introduce any instability. Edit: |
Sorry for the late reply, yes I was seeing |
Hello, for anyone who is experiencing this error while trying to use react-navigation, here's how I fixed mine.
Here is my configuration; I am running this on an actual Android device.
I think the guide in https://reactnavigation.org/docs/getting-started for 6.x.x is missing two dependencies (react-native-reanimated, react-native-gesture-handler). |
Unfortunately I ended up downgrading my RN version and rolling back this package to V 2... |
@wincod75 which version you downgraded your RN version |
What lead me here was build issues in Android with
|
These steps worked for me. Thanks! |
This didint work for me. Does anyone have any more advices or do I have to downgrade RN? |
the better choice is to downgrade RN imo, and wait for some kinda stable release of reanimated and other libraries |
@wincod75 My react native project was 62.2 then due to repository replacement of jcenter to maven, I need to upgrade it, but the warning above showed, then I decided to upgrade all the packages one by one. Then the warning just disappeared when I upgraded firebase/app, firebase/messaging & firebase/analytics. I don't know if this will help you or not, but on my console, I see no longer the warning. |
Thanks for the tip; i'll give this a try for my next release. |
react-reanimated release a new version to support react-native 0.65. |
upgraded to 2.2.1 and all is good! the warnings are also gone. |
still the same error |
None of these solutions works, I'm going to downgrade RN.. |
if you are using |
I would prefer to wait until we get a stable version. |
@adelalmaleh2 |
This worked fine, thanks |
I have warnings with this configuration and another error |
I could not make it work. |
Same here, I had to downgrade RN and roll back reanimated |
If you're like me and you just stumbled upon this, you're most likely getting this error based on incompatible versions of React Native and RNReanimated. I'd be willing to bet you just upgraded your version of React Native. Check to make sure the version of Reanimated you have includes the necessary Example: if you've upgraded to RN 0.67, make sure you also bump to react-native-reanimated I personally lock my dependencies when I upgrade react native, currently looks like:
I also rimraffed my node_modules folder and re-installed everything. |
this is already solved since 1 year ago, i'm closing this. |
Please provide all the information requested. Issues that do not follow this format are likely to stall.
Description
BUILD FAILED in 19s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
React Native version:
System:
OS: Windows 10 10.0.19042
CPU: (4) x64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz
Memory: 3.13 GB / 9.94 GB
Binaries:
Node: 14.17.5 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.11 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.14 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK:
API Levels: 30, 31
Build Tools: 30.0.2, 30.0.3, 31.0.0
Android NDK: Not Found
Windows SDK:
AllowAllTrustedApps: Enabled
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 11.0.12 - C:\Program Files\Eclipse Foundation\jdk-11.0.12.7-hotspot\bin\javac.EXE
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.0 => 0.65.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
i dunno
Expected Results
i got a build error from gradle
Snack, code example, screenshot, or link to a repository:
https://stackoverflow.com/questions/68831714/failed-to-transform-react-native-reanimated-65-jsc-aar
The text was updated successfully, but these errors were encountered: