How to Downgrade Flutter SDK ??

Hello Guys How are you all? Hope you all are fine. Many times we need to downgrade flutter SDK so that Here In this tutorial we are going to learn How to Downgrade Flutter SDK ??

How to Downgrade Flutter SDK ??

  1. How to Downgrade Flutter SDK ??

    To Downgrade Flutter SDK First of all Open your Terminal. Then type flutter version It will return all flutter version list. Choose the version that you want to downgrade. Just run the flutter version Suppose I want to use flutter version v1.13.0 So I will type flutter version v1.2.1 It will download flutter SDK and when the process is finished. just check your flutter version by the Flutter doctor command.

  2. Downgrade Flutter SDK

    To Downgrade Flutter SDK First of all Open your Terminal. Then type flutter version It will return all flutter version list. Choose the version that you want to downgrade. Just run the flutter version Suppose I want to use flutter version v1.13.0 So I will type flutter version v1.2.1 It will download flutter SDK and when the process is finished. just check your flutter version by the Flutter doctor command.

Method 1

  1. First of all Open your Terminal.
  2. Then type flutter version
  3. It will return all flutter version list.
  4. Choose version that you want to downgrade.
  5. Just run flutter version <Your Downgrade Version>
  6. Suppose I want to use flutter version v1.13.0 So I will type flutter version v1.2.1
  7. It will download flutter SDK and when process is finished. just check your flutter version by Flutter doctor command.

Method 2

Flutter is versioned using git. Changing the Flutter version is as simple as changing the git branch. There are 2 different ways:

  • flutter channel <branch> (example: flutter channel stable)

This command is used to change between branches – usually stable/dev/beta/master. We can also put a specific commit id from git.

  • flutter downgrade <version> (example: flutter downgrade v1.2.1)

This command will use a specific version number. You can have the list of the available version numbers using flutter downgrade or here

After this, run any Flutter command (such as flutter doctor), and Flutter will take care of downloading/compiling everything required to run this version.

Method 3

  • To downgrade there are many deprecated commands.
  • The two that actually work, and I’ve tested them, are:
flutter downgrade v[flutter build version]
  • For instance:
flutter downgrade v1.22.6
  • And the other one: go to your flutter sdk folder, that is your folder named “flutter” and inside it open a new terminal. Then type:
git checkout [flutter build version]
  • For instance:
git checkout 1.22.3

Summery

So, It’s All About How to Downgrade Flutter SDK ??. I hope this tutorial helps you to Solve your error. Please Comment Below if You stucks anywhere with my code. And please comment below which solution worked for you. Thank You.

Also Check Out Below Tutorials

Leave a Comment

  Canva Pro Crack Filmora Pro Crack Spotify Premium Free Download Tradingview Premium Free