-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Upgrade from 0.57.8 to 0.58.0 Version mismatch on APK #25512
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.
|
It looks like you are using an older version of React Native. Please update to the latest release, v0.60 and verify if the issue still exists. The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
|
It may be an issue with your 3rd party libraries specific versions. I'd advise to go straight to version 0.59.10, which is very stable in the community for couple of months and should cause less headaches. Then to 0.60 if all works and your 3rd party libs are compatible (we released it just 2 days ago, so weird things can happen). Please come back if you have issues with 0.59. Closing this. |
If anyone has the same problem : |
I'm stuck on a weird problem since 2 days
I upgraded my react native version from 0.57.8 to 0.58.0 using rn-diff-purge. I made all necessary changes, upgrade dependencies that needed to be, etc
Everything works well on my computer when i run it on android (
react-native run-android
)After that, i try build an apk of my application using gradlew and jarsigner. Build success
I install it on my device (
adb install test.apk
) and launch it.Everything works fine except all my svg disappeared. Weird...
(I'm using react-native-svg and react-native-svg-uri. Both doesn't show a svg anymore)
So i'm running
adb logcat | tee android.log
to have logs on what is happening thereAnd i see a log saying i have react native version mismatch
So maybe the problem is here..
I tried everything i found to fix this version mismatch :
watchman watch-del-all
rm -rf node_modules && yarn
rm -rf /tmp/metro-*
rm -rf /tmp/react-*
android/app/build.gradle
:dependencies{compile ("com.facebook.react:react-native:0.58.0") { force = true } }
But this Javascript version is stuck to 0.57.8 ..
The upgrade i've made for react native 0.58 are :
React Native version:
React Native Environment Info:
System:
OS: macOS 10.14.5
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 82.02 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.16.0 - ~/.nvm/versions/node/v10.16.0/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.9.0 - ~/.nvm/versions/node/v10.16.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
Android SDK:
API Levels: 23, 25, 27, 28
Build Tools: 23.0.1, 27.0.3, 28.0.2
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5522156
Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.58.0 => 0.58.0
npmGlobalPackages:
react-native-git-upgrade: 0.2.7
I don't know what to try now
The text was updated successfully, but these errors were encountered: