wix / react-native-navigation

A complete native navigation solution for React Native
https://wix.github.io/react-native-navigation/
MIT License
13.05k stars 2.67k forks source link

Getting Execution failed for task ':react-native-navigation:compileReactNative71DebugJavaWithJavac'. #7898

Open Shahbaz898414 opened 3 months ago

Shahbaz898414 commented 3 months ago

What happened?

After Installing npm install @react-navigation/native npx expo install react-native-screens react-native-safe-area-context i follwed this docs https://reactnavigation.org/docs/getting-started/ I always get this error when i run yarn run android. How can I fix this?

Screenshot

image

image

What was the expected behaviour?

No response

Was it tested on latest react-native-navigation?

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: React Native version: Has Fabric (React Native's new rendering system) enabled: (yes/no) Node version:

hendridg commented 3 months ago

Hi guys 👋,

I have the same error

> Task :react-native-navigation:compileReactNative71ReleaseJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

I use the npm run android --verbose --info --scan and this error come from the update to react-native and react-native-navigation

"react-native": "^0.72.3" => "react-native": "^0.74.4",
"react-native-navigation": "^7.37.0" => "react-native-navigation": "^7.40.1"
whois42 commented 3 months ago

Hello guys, I'm experiencing the same error after updating to RN to 0.74.4 in my project. Do you have any updates about it?