查看版本list
https://github.com/flutter/flutter/releases
升级到指定版本:
flutter upgrade v1.25.0
回滚到指定版本
1:在版本list里拿到commit记录,如图
commit记录
2:命令行查找flutter 所在目录
which flutter
3:cd 进入flutter 目录
git reset --hard 7891006
4: 命令行输入:
flutter doctor
https://github.com/flutter/flutter/releases
flutter upgrade v1.25.0
1:在版本list里拿到commit记录,如图
2:命令行查找flutter 所在目录
which flutter
3:cd 进入flutter 目录
git reset --hard 7891006
4: 命令行输入:
flutter doctor
本文标题:flutter 版本回滚和升级
本文链接:https://www.haomeiwen.com/subject/qqibtltx.html
网友评论