-
Notifications
You must be signed in to change notification settings - Fork 3
Flutter Installation SOP
To get started with Flutter, follow the detailed installation for Windows OS provided in this wiki here.
- Download the Flutter SDK For other release channels, and older builds, check out the SDK archive.
- Extract the .zip file to a desired installation location (avoid the
C:\Program Filesdirectory; prefer%USERPROFILE\flutter). It is about 2GB, so have some space available on the drive of choice. - Update the
PATHenvironmental variable to run Flutter commands from the Windows console. (append ";{installation_location}\flutter\bin" to the%PATH%environmental variable). - Run "
flutter doctor" from the console window to see if there are any platform dependencies needed to complete setup This command checks your environment and displays a report of the status of your Flutter installation. Check the output carefully for other software you might need to install or further tasks to perform. Once you have installed any missing dependencies, you can run the flutter doctor command again to verify that you’ve set everything up correctly.

- Download and install Android Studio.
- Start Android Studio, and go through the ‘Android Studio Setup Wizard’. This installs the latest Android SDK, Android SDK Command-line Tools, and Android SDK Build-Tools, which are required by Flutter when developing for Android. Alternatively, open Android Studio and navigate to "SDK Manager" to manually configure the Android Studio.
- For latest Android SDK, navigate to Languages & Frameworks > Android SDK. In the SDK Platforms, select
"Android API 34" - For Android SDK Command-line Tools, Languages & Frameworks > Android SDK. in the SDK Tools, select
"Android SDK Command-line Tools (latest)" - For Android SDK Build-Tools, Languages & Frameworks > Android SDK. in the SDK Tools, select
"Android SDK Build-Tools 34" - Once all are selected, select "Apply" and follow any on-screen steps/guides.
- Run "
flutter doctor" to confirm that the Flutter SDK has located your installation of Android Studio. If Flutter cannot locate it, runflutter config --android-studio-dir=<directory>to set the directory that Android Studio is installed to.
To prepare to run and test your Flutter app on an Android device, you need an Android device running Android 4.1 (API level 16) or higher.
- Enable Developer options and USB debugging on your device. Detailed instructions are available in the Android documentation.
- [Optional] To leverage wireless debugging, enable Wireless debugging on your device. Detailed instructions are available in the Android documentation.
- Windows-only: Install the Google USB Driver.
- Using a USB cable, plug your phone into your computer. If prompted on your device, authorize your computer to access your device.
- In the terminal, run the
flutter devicescommand to verify that Flutter recognizes your connected Android device. By default, Flutter uses the version of the Android SDK where your adb tool is based. If you want Flutter to use a different installation of the Android SDK, you must set theANDROID_SDK_ROOTenvironment variable to that installation directory.
To prepare to run and test your Flutter app on the Android emulator, follow these steps:
- Enable VM acceleration on your machine.
- Launch Android Studio, click on Device Manager icon, and select Create Device under Virtual tab…
- In older versions of Android Studio, you should instead launch Android Studio > Tools > Android > AVD Manager and select Create Virtual Device…. (The Android submenu is only present when inside an Android project.)
- If you do not have a project open, you can choose 3-Dot Menu / More Actions > Virtual Device Manager and select Create Device…
- Choose a device definition and select Next.
- Select one or more system images for the Android versions you want to emulate, and select Next. An x86 or x86_64 image is recommended.
- Under Emulated Performance, select Hardware - GLES 2.0 to enable hardware acceleration.
- Verify the AVD configuration is correct, and select Finish. For details on the above steps, see Managing AVDs.
- In Android Virtual Device Manager, click Run in the toolbar. The emulator starts up and displays the default canvas for your selected OS version and device.
To prepare to run and test your Flutter app on the Android emulator, follow these steps:
Before you can use Flutter, you must agree to the licenses of the Android SDK platform. This step should be done after you have installed the tools listed above.
- Open an elevated console window and run the following command to begin signing licenses.
flutter doctor --android-licenses - Review the terms of each license carefully before agreeing to them.
- Once you are done agreeing with licenses, run
flutter doctoragain to confirm that you are ready to use Flutter.

Additional requirements for Windows
For Windows desktop development, a Visual Studio (2019 or 2022) workload is required in addition to the Flutter SDK. Visual Studio 2022 IDE Visual Studio Build Tools 2022 When installing Visual Studio or only the Build Tools, you need the “Desktop development with C++” workload installed for building windows, including all of its default components.
VS Code is a code editor to build and debug apps. With the Flutter extension installed, you can compile, deploy, and debug Flutter apps.
To install the latest version of VS Code, follow Microsoft’s instructions: Install on Windows
- Start VS Code.
- Open a browser and go to the Flutter extension page on the Visual Studio Marketplace.
- Click Install. Installing the Flutter extension also installs the Dart extension.

- Go to View > Output.
You can also press
Control / Command + Shift + U. - In the dropdown on the upper right of the Output panel, select flutter (flutter).
- Go to View > Command Palette….
You can also press
Control / Command + Shift + P. - Type
doctor. - Select the Flutter: Run Flutter Doctor. Flutter Doctor runs and its response displays in the Output panel.