Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to build android apk But I am facing following error Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3 in React-Native. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3 Error Occurs ?
I am trying to build android apk But I am facing following error.
Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3
How To Solve Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3 Error ?
- How To Solve Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3 Error ?
To Solve Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3 Error Here Error Is saying that you should use a higher version of your react-native. So Just Update react-native version with this command. npx react-native upgrade 0.64.3 If this command gives you any error Then Just Open package.json and Then Change the version of
react-native
manually and then runexpo install
. Now your error must be solved. - Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3
To Solve Warning: Invalid version react-native@0.64.2 for expo sdkVersion 43.0.0. Use react-native@0.64.3 Error Here Error Is saying that you should use a higher version of your react-native. So Just Update react-native version with this command. npx react-native upgrade 0.64.3 If this command gives you any error Then Just Open package.json and Then Change the version of
react-native
manually and then runexpo install
. Now your error must be solved.
Solution 1: Update react-native version
Error Is saying that you should use a higher version of your react-native. So Just Update react-native version with this command.
npx react-native upgrade 0.64.3
If Above command gives you following error.
info Fetching diff between v0.64.2 and v0.64.3… error Fetch request failed with status 404: 404: Not Found. error Failed to fetch diff for react-native@0.64.3. Maybe it’s not released yet?
Then Just Open package.json and Then Change the version of react-native
manually and then run expo install
. Now your error must be solved
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read