Question
flutter downgrade error - There is no previously recorded version for channel
My project uses packages that are not backward compatible,
I tired to install on a new PC but it install the latest flutter and I cannot downgrade flutter
$ flutter downgrade v1.22.6
Downloading Dart SDK from Flutter engine a252ec09b74cca0f8d8d3450566bf77c77f81e8d...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 199M 100 199M 0 0 1159k 0 0:02:55 0:02:55 --:--:-- 2695k
Building flutter tool...
Downloading Material fonts... 1,453ms
Downloading Gradle Wrapper... 242ms
Downloading package sky_engine... 914ms
Downloading flutter_patched_sdk tools... 4.8s
Downloading flutter_patched_sdk_product tools... 3.9s
Downloading linux-x64 tools... 7.3s
Downloading linux-x64/font-subset tools... 874ms
There is no previously recorded version for channel "dev".
I tried on stable
and beta
as well
$ flutter downgrade v1.22.6
There is no previously recorded version for channel "stable".
flutter downgrade 1.22.6
There is no previously recorded version for channel "beta".
I also tried:
$ flutter version v1.22.6
WARNING: Flutter version command has been removed, using latest from channel
46 53673
46