upgrade-support
upgrade-support copied to clipboard
0.69.1 gradle-wrapper.jar conflicts during the upgrade to 0.70.3 Procedure
Environment
System: OS: macOS 12.4 CPU: (8) arm64 Apple M1 Memory: 87.97 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node Yarn: 1.22.18 - ~/.nvm/versions/node/v16.15.0/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm Watchman: 2022.05.30.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8609683 Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild Languages: Java: 11.0.15 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.3 => 0.70.3 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Things I’ve done to figure out my issue
’npx react-native upgrade’
Upgrading version
Description
I am a novice, I am upgrading my project from 0.69.1
to the latest 0.70.3
, but there is a conflict with gradle-wrapper.jar
file during the upgrade process. I cannot check the conflict with gradle-Wrapper. jar file
, I do not know where the conflict occurred and how to modify it

Hey, you can try deleting the gradle-wrapper.jar
file and then re-create it using the gradle command. Refer this https://docs.gradle.org/current/userguide/gradle_wrapper.html
嘿,你可以尝试删除
gradle-wrapper.jar
文件,然后使用 gradle 命令重新创建它。参考这个https://docs.gradle.org/current/userguide/gradle_wrapper.html
Thank you for your advice. It helped me solve the problem!
How you actually did your upgrade? Did you use any tool or manually implemented all changes mentioned inside (https://react-native-community.github.io/upgrade-helper/) ??