-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
React Native 0.59.1 Version Mismatch #23978
Comments
Don't think this is a bug. @theweavrs you likely need to reinstall app. Try removing old one and installing fresh one. |
@Esemesek it's not a bug, I agree. But I have tried everything from top to bottom; nothing worked. I removed the old one multiple times. Don't know why this is happening. Maybe because of |
Okay so I ignored the error and simply added my IP in the Dev Menu and then reloaded. It works now but I am getting this issue now: #19719 |
Hey @theweavrs, thanks for filing, glad to hear you got this one fixed As you said, this isn't a bug so I'm going to close this as this issue tracker isn't a help forum 👍 |
My way is close terminal and run again!this is solve |
I was running into this issue on android, but only when building a custom build type. I was able to fix it by adding:
to |
I solved this issue by reiinstall expo client
|
Still haven't got solution yet can anyone please help me how to resolve it . |
If you are still not able to resolve the issue please run it from your sublime or visual studio code .Hope it works |
I solved this issue by |
Can you elaborate please |
try react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ |
If all the solution above doesn't work, please delete file |
I ended up creating another project and copying |
Thank you, this works perfectly fine |
If using expo, use 'expo upgrade' rather than trying to manually upgrade react and react-native packages. |
use android:usesCleartextTraffic="true" in your AndroidManifest file like this : |
I am facing similar problem with both Android and iOS simulators, any tips on fixing it? |
thanks guys...I removed the package lock.json, reopened the app in a new terminal and re-run the build...it is now working on android simulator |
Thanks !! doing that and running from the terminal instead of from android studio did it for me ! |
Just close the terminal and run again. so this error will be disappeared. |
🐛 Bug Report
So I upgraded to
react-native:0.59.1
fromreact-native:0.57.5
and every time I doreact-native run-android
it builds successfully but I get this error.What I have already tried:
app/build
folder.\gradlew clean
react-native start --reset-cache
node_modules
folder and runyarn
Screenshot:
To Reproduce
I did the following steps to upgrade to
0.59.1
:yarn add react-native@latest
react-native upgrade --legacy
(did yes or no appropriately)yarn
react-native run-android
Expected Behavior
The app should build and run without a version mismatch error.
Code Example
My package.json:
Environment
The text was updated successfully, but these errors were encountered: