Downgrading Flutter SDK to Version 1.x
Flutter
2021-08-08 08:43 (4 years ago)

% flutter downgrade v1.22.6
If you do this,
There is no previously recorded version for channel "stable".
an error message will appear, and you won't be able to downgrade.
To downgrade, you should perform a git checkout in the Flutter SDK directory
% 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)
Please rate this article
Currently unrated
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.