In this Article we are going to learn about How to Install Flutter in windows with help Youtube videos step by step guidance. 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.
Introduction
Those platforms include all major ones used today, such as:
- Android.
- iOS.
- Windows.
- Mac.
- Linux.
It is worth noting that Flutter works great for Android and iOS mobile apps and apps for web and desktop. Today, Flutter’s support for MacOS and Linux is still in beta.
This article showcases how to install and configure Flutter SDK on Windows 10.
Pre-installation Requirements
- Windows 10 operating system installed
- At least 2 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. In today’s tutorial, 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. For this tutorial, it will be stored in C:\deepika\flutter.
Youtube Video Guide Flutter Installation
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 flutter\bin 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\deepika>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.
[√] 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 (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 JAVA JDK8
Youtube Video Download JDK8
Before download and install android studio must be need to download and setup path of Java JDK on your system, watch this video and configure with step by step
Step 6: 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, download flutter.
Youtube video Install Android Studio
Afterward, Android Studio Setup Wizard will start and you can proceed by clicking Next.
- On the Install Type screen, select Custom and click 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.
- On the next screen, 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\deepika>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 not accepted. To resolve this, run: flutter doctor --android-licenses
[√] 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
! 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.
flutter doctor --android-licenses
When asked, input y to all prompts, to accept licenses.
C:\Users\deepika>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\deepika>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
! Doctor found issues in 1 category.
Step 7: 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.
How to Download and Install Visual Studio Code – DOWNLOAD NOW
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\deepika>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.
Step 8: Run First Flutter App Project Successfully
Conclusion
This article presents the step-by-step installation and configuration of Flutter SDK on the Windows 10 operating system with youtube videos guide. Flutter SDK is continuing to be widely used in mobile, desktop, and web app development.
If your business needs require the usage of Flutter SDK, Liquid Web has a plethora of Windows hosting options, including our Dedicated Servers. You can always reach out to our sales team to learn more about our offerings.
Do like & share my Facebook page. if you find this post helpful. Thank you!!
Related Articles:
- How to Setup Space Between Elements In Flutter
- Flutter Card Widget with Example
- Integrating an API into a Flutter – Working with REST APIs
- Create a simple splash screen in Flutter
- Android Projects with Source Code
- Flutter Interview Questions
- School Database Management System Project
- How to Run first Flutter App
- Make Navigation Drawer in Flutter Source Code
- Flutter weather app using OpenWeatherMap API source code