Flutter SDK を V1系にダウングレードする

Flutter
2021-08-08 17:43 (3年前) ytyng
View in English
% flutter downgrade v1.22.6

とすると、

There is no previously recorded version for channel "stable".

というエラーメッセージが出てダウングレードできない。

ダウングレードするには、Flutter の SDK ディレクトリで git checkout すると良い

% cd <your-flutter-sdk-path>
% git fetch
% git tag
...
1.22.5
1.22.6
1.23.0-13.0.pre
1.23.0-18.0.pre
1.23.0-18.1.pre
...
% git branch -a
dev
master
stable
...
remotes/origin/flutter-1.27-candidate.5
remotes/origin/flutter-1.27-candidate.6
remotes/origin/flutter-1.27-candidate.7
remotes/origin/flutter-1.27-candidate.8
remotes/origin/flutter-1.27-candidate.9
remotes/origin/flutter-2.2-candidate.0
remotes/origin/flutter-2.2-candidate.1
remotes/origin/flutter-2.2-candidate.10
remotes/origin/flutter-2.2-candidate.11
...

% git checkout 1.22.6
HEAD is now at 9b2d32b605 [flutter_releases] Flutter Stable 1.22.6 Framework Cherrypicks (#74355)
% flutter doctor
...
...
[✓] Flutter (Channel unknown, 1.22.6, on macOS 11.4 20F71 darwin-x64, locale ja)
現在未評価
タイトルとURLをコピー

コメント

アーカイブ

2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011