Flutter is a free and open-source UI framework that was released in 2017 and originally developed by Google. Flutter enables developers to create cross-platform applications using only one codebase. It is a fantastic tool for developers as it can drastically accelerate app development, reduce costs, and make cross-platform app updates easier.
Pre-installation Requirements
- Windows 10 operating system installed (Flutter will work on Windows 7 and later versions).
- At least 1.65 GB of free disk space (Additional free storage is needed for other tools and IDEs, if not already installed).
- Windows Powershell 5.0 or newer.
- Git for Windows version 2.0 or newer (Optional).
- Android Studio installed.
- Visual Studio 2022 with C++ (Optional).
How to Install and Configure Flutter SDK on Windows 10
After meeting all requirements, you can begin installing and configuring Flutter SDK. You will be installing a fixed installation of Flutter SDK, without using Git.
Step 1: Download Flutter SDK
Download the Flutter SDK package by clicking on the following button on the webpage.
Step 2: Extract the Files
Extract the downloaded zip file and move it to the desired location you want to install Flutter SDK. Do not install it in a folder or directory that requires elevated privileges, (such as C:Program Files) to ensure the program runs properly. It will be stored in C:developmentflutter.
Step 3: Update Path Variable for Windows PowerShell
Next, you need to update your Path environment variable to run Flutter commands in Windows consoles PowerShell and Command Prompt (CMD). First, click the Start button and type to search for and then click on Edit environment variables for your account.
Under User variables, click on and highlight Path. Click Edit.
On the next screen, click New and add the full path to your flutterbin directory. For this guide, it is shown below. Click OK on both windows to enable running Flutter commands in Windows consoles.
Step 4: Confirm Installed Tools for Running Flutter
In CMD, run the flutter doctor command to confirm the installed tools along with brief descriptions.
C:\Users\nikhil>flutter doctor
Running “flutter pub get” in flutter_tools… 8,9s
Doctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.19041.746], locale en-US)[X] Android toolchain – develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
‘flutter config –android-sdk’ to update to that location.
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the “Desktop development with C++” workload, including all of its default components[!] Android Studio (not installed)[√] Connected device (2 available)[√] HTTP Host Availability
! Doctor found issues in 3 categories.
As visible, several components still need to be installed to complete the installation.
Step 5: Download and Install Android Studio
Continue by downloading Android Studio. In the setup, unless you have specific requirements, you can click Next on all screens leaving the default settings. Ensure that the Android Virtual Device option is selected on the Choose Components screen so that you can have an Android emulator running for Android app development.
Afterward, Android Studio Setup Wizard will start and you can proceed by clicking Next.
Select the installation location or leave the default path and click Next.
Select your UI theme and click Next.
Select your SDK components and click Next.
Verify the selections and click Next. Then, accept the License Agreement and click Finish.
The download of the components will start and Android Studio install. Once completed, click Finish.
After the installation, start Android Studio. On the left side, click Plugins. Search for Flutter and click Install to install the Flutter plugin.
It will also prompt you to install Dart, a programming language used to create Flutter apps. Click Install at the prompt. Finally, click Restart IDE so that the plugin changes are applied. Click Restart at the prompt to confirm this action.
Afterward, run the flutter doctorcommand in CMD to confirm the Android Studio installation.
C:/Users/nikhil>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [version 10.0.19041.746), locale en-US)[!] Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1)
! Some Android licenses are not accepted. To resolve this, run: flutter doctor –android-licenses[√] Chrome – develop for the web[X] Visual Studio – develop for Windows
X Visual Studio is not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the “Desktop development with C++- workload, including all of its default components[√] Android Studio (version 2021.1)[√] Connected device (2 available)[√] HTTP Host Availability
! Doctor found issues in 2 categories.
Android Studio was successfully installed, however, it finds an issue with Android licenses. This issue is fairly common and is mitigated by running the following command in CMD.
When asked, input y to all prompts, to accept licenses.
C:/Users/nikhil>flutter doctor –android-licenses
5 of 7 SDK package licenses not accepted. 100% Computing updates…
Review licenses that have not been accepted (y/N)? y
Running the flutter doctor command again shows the issue resolved.
C:/Users/nikhil>flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.19041.746], locale en-US) [√] Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1) [√] Chrome – develop for the web [X] Visual Studio – develop for Windows X Visual Studio not installed; this is necessary for Windows development. Download at https://visualstudio.microsoft.com/downloads/. Please install the “Desktop development with C++” workload, including all of its default components [√] Android Studio (version 2021.1) [√] Connected device (2 available) [√] HTTP Host Availability! The doctor found issues in 1 category.
Step 6: Install Visual Studio (Optional)
The above output also shows that Visual Studio is not installed. Visual Studio is not needed unless you want to use Flutter for Windows desktop development.
If you need to use it, you can download Microsoft’s Visual Studio 2022 with C++. Once the VisualStudioSetup.exe file is downloaded, open it and proceed with the installation by agreeing to all default installation options. This installation requires at least 20 GB of free disk space. After the installation completes, run the flutter doctor command in CMD to confirm the Visual Studio installation.
C:/Users/nikhil>flutter doctor
Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel stable, 2.10.4, on Microsoft Windows [Version 10.0.19041.746], locale en-US) [√] Android toolchain – develop for Android devices (Android SDK version 32.1.0-rc1) [√] Chrome – develop for the web [√] Visual Studio – develop for Windows (Visual Studio Community 2022 17.1.3) [√] Android Studio (version 2021.1) [√] Connected device (2 available) [√] HTTP Host Availability • No issues found!
At this point, all the tools for Flutter projects are ready to be used for the development of Flutter apps. Depending on your needs, you can start your projects in Android Studio or Visual Studio.
About Author:
Nikhil Umaretiya
I am a specialist in WordPress Developing and I can do anything confining my basics. I have vivid experiences of 1.5 years working in this field and abundant enough with required skills like HTML5, CSS3, PHP, JavaScript, MySQL, Photoshop, bootstrap, use of Bit bucket and Github, SEO basis.