Docly Child

How to Setup Flutter in Android Studio – Windows

Estimated reading: 2 minutes 24 views

Download Android Studio

Step 1 : Get the Flutter SDK

  • Download the following installation bundle to get the latest stable release of the Flutter SDK – https://docs.flutter.dev/release/archive?tab=windows
  • Extract the zip file and place the flutter directory at desired installation location
    (for example C:\src\flutter )
    Note : Do not place Flutter in a directory like C:\Program Files\ that requires elevated privileges.

Step 2 : Update your path

If you wish to run Flutter commands in the regular Windows console, take these steps to add Flutter to the PATH environment variable.
From the Start search bar, enter ‘env’ and select Edit environment variables for your account.
Under User variables check if there is an entry called PATH.

  • If any other entry exists, append the full path-to-flutter\bin using “;” as a separator from existing values.
    i.e – C:\src\flutter\bin
  • If the entry doesn’t exist, create a new user variable named PATH with the full path-to-flutter\bin as its value.

Important:

Note that you have to close and reopen any existing console windows for these changes to take effect.

You are now ready to run Flutter commands in the Flutter Console!

Step 3 : Run flutter doctor

From a console window that has the Flutter directory in the path (see above), run the following command to see if there are any platform dependencies you need to complete the setup:

C:\src\flutter>flutter doctor

If you find any issue during environment setup, please go online Click here

Leave a Comment

Share this Doc
CONTENTS