-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Not working in RN v0.72.1 #7748
Comments
having the same issue |
Try this patch until 0.72 support lands, iOS should work without any patches
|
the same issue with react-native 072.0 and react-native-navigation: 7.34.0 |
@svbutko Does your patch fix work with rn 0.72 and rnn 7.34.0? I tried and nothing - the same error. |
Yes, for me it works without issues, Fabric should be disabled though, since RNN is not supporting it yet, check that you applied this patch |
Unfortunately it doesn't work for me. Fabric is disabled, patch has been applied (files in node modules have been changed) |
You can check out the whole setup here, I use RN 0.72 since RC 1 together with RNN https://github.com/svbutko/react-native-template-strong |
not working vb node_modules\react-native-navigation\lib\android\app\build.gradle Execution failed for task ':tasks'.
|
I confirm it doesn't work. Got the same error. Also tried a clean setup from @svbutko 's repository (https://github.com/svbutko/react-native-template-strong) which gives the same error (patch is applied) |
I have four apps running on it with RN 0.72.1 and RNN 0.34, on both Android and iOS, are you sure you did everything correctly? |
Hi @svbutko thanks for your prompt reply.
and then
which works perfectly fine But FYI, I am using node v16.17.0 and Java openjdk 11.0.19 2023-04-18 LTS (maybe that's a problem???) and also I am running on Mac M1 (although other projects runs OK with the same versions on the same machine) Is there any extra step I have to take? |
I have also tried on Linux, still got the same error |
The patch seems to work now after I have updated Android Studio from Dolphin to Android Studio Flamingo | 2022.2.1 Patch 2 which caused also the installation of JDK 11 (Zulu11) and the update of AGP 7.3.1 (used by the old Android Studio) to AGP 7.4.2. Note that it works from inside Android Studio (in Mac M1) but not from command line with Thanks to @svbutko for his help and of course his patch! |
Also getting this via command line only |
Here's a different patch you can apply. This is for a separate repo, so you'll need to apply it manually and then run patch package to save it |
Can confirm that patch works. I am using rnn 7.34.0 with react native 0.72. Just updated adroid studio to flamingo as itsam mentioned |
@alexwasner thanks for this... does this actually solves running from terminal as well? |
When will there be an update? |
The quick workaround for now is to comment the following lines in /node_modules/react-native-navigation/lib/android/app/build.gradle reports {
|
thanks @aamernabi. are you sure you didn't do anything else? merely commenting those three lines doesn't do the trick for me. I now get this error:
|
FYI the solution for this error was to upgrade Kotlin and the Kotlin gradle plugin (in my case, 1.9.0 worked) |
Fixed in 7.35.2, sorry for the inconvenience. |
What happened?
What was the expected behaviour?
Working in RN 0.72.1
Was it tested on latest react-native-navigation?
Help us reproduce this issue!
npx react-native@latest init rntest
yarn add react-native-navigation
npm run android
In what environment did this happen?
React Native Navigation version: 7.33.3-hotfix.3
React Native version: 0.72.1
Has Fabric (React Native's new rendering system) enabled: yes
The text was updated successfully, but these errors were encountered: