Flutter 2.0.6 Upgrade Guide

ps: There is no need to download homebrew, Xcode and upgrade mac OS.

1. First download Flutter 2.0.6
website: Flutter installation package download
insert image description here
2. Unzip the package and copy it to the folder where the original Flutter is located
insert image description here
3. Open Android Studio and manually switch the Flutter path
insert image description here
4. Change the environment variable
(1) If it is zsh:
root Run vim .zshrc in the directory, enter i to edit, then change the Flutter version, exit and save after the change (operate esc—>shift+:—>wq).
insert image description here
(2) If it is bash:
run vim .bash_profile in the root directory, and the follow-up is the same as zsh.

In this way, the upgrade is successful.

Guess you like

Origin blog.csdn.net/weixin_42464713/article/details/121952769