flutter downgrade refuses to run on a channel
There is no previously recorded version for channelShort answer
flutter downgrade only undoes the last flutter upgrade on the current channel. If you never upgraded on that channel, or the last upgrade changed nothing, it has no earlier version to return to. Move to the release you want with git checkout inside the Flutter folder, using a tag from the SDK archive.
Fix it fast
1Find out which cause you have
Find which channel and version you are on, and where the SDK lives. Both are needed for the fix.
flutter --version flutter doctor --verbose | head -n 82Match what you see, then jump to its fix
- 1
The message says it looks like flutter upgrade was not run on the channel, often right after a fresh install or flutter channel switchYou never ran flutter upgrade on this channelFix - 2
You did run flutter upgrade, but you were already on the newest release, so the stored version equals the current oneThe last upgrade did not change the versionFix
- 1
What does the error look like?
There is no previously recorded version for channelIt looks like you haven't run "flutter upgrade" on channel"flutter downgrade" undoes the last "flutter upgrade".
Cause 1 of 2
You never ran flutter upgrade on this channel
1Check
Flutter's tool remembers the version from before each upgrade, one entry per channel. A new install or a freshly selected channel has no entry yet.
flutter channel2Fix
Skip downgrade. Pick a release from the Flutter SDK archive, go to the SDK folder and check it out with git.
cd /path/to/flutter
git checkout <Flutter version>
flutter --version3Verify
flutter --version prints the release you checked out.
flutter --versionConfirmed by docs.flutter.dev
Cause 2 of 2
The last upgrade did not change the version
1Check
The tool refuses when the recorded version equals the version you run now, because there is nothing earlier to go back to.
flutter --version2Fix
Use the same git checkout route to go to the older release you want. The docs tell you to find that release in the SDK archive.
cd /path/to/flutter
git checkout <Flutter version>3Verify
flutter --version shows the older Flutter and Dart versions, then run flutter pub get in your project.
flutter --version
flutter pub getConfirmed by raw.githubusercontent.com
How do I stop it coming back?
- Pin the Flutter version your team uses and write it in the README.
- Use git checkout with a release tag instead of flutter downgrade when you need an exact version.
- Keep a note of the last good version before every flutter upgrade.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.
Which stack is behind this page?
Projects of mine built on the same technologies:
- TaxiDexMy own multi-tenant taxi dispatch SaaS: API, dispatcher portal, driver and passenger apps, and the servers underneath.
- Dispatch ProA real-time logistics platform: Flutter apps, Spring Boot services and a Kafka event pipeline on AWS.
- Qist BazaarA buy-now-pay-later marketplace built from a blank repo, now past 100K downloads on Google Play.
Related fixes
Mobile apps
Google Play says the app does not support 16 KB memory pages
check_elf_alignment.sh reports UNALIGNED for a library under lib/arm64-v8a
Google Play requires apps that target Android 15 or higher and ship native .so libraries to run on devices with 16 KB memory pages; from 1 February 2027 it will block updates that do not.
5 causes, each with a fixMobile apps
Gradle cannot find com.google.firebase:firebase-analytics-ktx
Required by: project :app
Firebase moved the Kotlin extensions into the main modules and stopped releasing the -ktx modules in July 2025.
2 causes, each with a fixMobile apps
Gradle cannot create LibraryVariantBuilderImpl in a Flutter Android build
Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl
This error appears when the Android Gradle plugin (AGP) cannot run in the Gradle or IDE you use.
3 causes, each with a fixMobile apps
Flutter release build cannot open the keystore: HmacPBESHA256 not available
Algorithm HmacPBESHA256 not available
The keystore is a PKCS12 file protected by a newer algorithm than the Java that is reading it understands.
3 causes, each with a fixMobile apps
Android install error: the package conflicts with an existing package of the same name
The package conflicts with an existing package by the same name
Android allows only one app per application ID, and an update must be signed with the same certificate as the installed version.
3 causes, each with a fixMobile apps
Android resource linking fails with resource android:attr/lStar not found
error: failed linking references.
The lStar attribute exists only from Android API 31.
2 causes, each with a fix