I am building an react native app with expo but my build is failing wit error
I Don't have any idea about this error
Related
I have tried to update our react native app from 0.67 to 0.70 with this guide:
text
and wasnt able to build android even after returnung to my main branch with out any changes.
I am keep getting the error.
"cannot choose between the following variants of com.facebook.react:react-native:0.71.0-rc.04"
I was tring to update my react native app and expected to be able to build android successfully after the update.
I want to link a library in react native version 0.70.1 but I got a error error: unknown command 'link' after trying this command react-native link react-native-notification-sounds
Linking is automatic since React Native 0.60. So no need to run react-native link.
After installing the library -
on android, just rebuild the app
npm run android
on ios, install the pod before rebuilding the app
npx pod-install ios
npm run ios
Im trying to build My Expo app with EAS build, but it keeps failing, this fails for Android, i am not sure about IOS, i think it has to do with React native navigation
Here is a Screenshot of my package json
the solution to this problem was the library react-native-navigation:#7.26.0, apparently this library is not compatible with eas build or Expo Go as stated here
I removed the library from my app (i actually never imported it) and my build was successfull
I develop react native android project and in order to build and run my project, I use react-native run-android command.
When we build in android studio, we can build our project with offline mode gradle settings.
Is there a command that runs react native android project with offline gradle? Is there any other solution for building react native android project with offline gradle.
Note: I know to can build and run the project from android studio with offline gradle but I'm looking for a solution that runs react native andorid project without opening android studio.
How to fix this error when run android emulator?
I create a first application using React Native. But when I try to run this command react-native run-android I got some error in my command line :
This app is default created app from react native CLI