Downgrading Flutter SDK to Version 1.x
Flutter
2021-08-08 08:43 (5 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 (No signup or login required)
Currently unrated
Related posts
How to Install AWS CLI V1 on Ubuntu Using Snap
When Running `flutter build apk`, Gradle Task `assembleRelease` Failed with Exit Code 1 and APK is Not Created
The App Crashes When Using FlutterDownloader.initialize() with flutter_downloader
Building an Android App with Flutter and Enabling App Launch from https:// URLs Using AppLinks
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.