~ flutter upgrade
Unknown flutter tag. Abandoning upgrade to avoid destroying local changes. It is
recommended to use git directly if not working on an official channel.
i try to upgrade my flutter sdk to latest version stable "flutter_macos_3.13.1-stable", but i have error message : "Unknown flutter tag. Abandoning upgrade to avoid destroying local changes. It is
recommended to use git directly if not working on an official channel." Instead a successfully message .
2
Answers
Just run flutter upgrade –force
Sure, here’s a step-by-step guide to help you resolve this issue:
flutter channel
to check which channel you’re currently on.flutter channel stable
.flutter upgrade
to upgrade Flutter to the latest stable version.For more detailed information on upgrading Flutter, you can refer to the official Flutter documentation: Flutter Upgrade Guide
Following these steps should help you overcome the "Unknown flutter tag" error and successfully upgrade your Flutter installation.