System requirements
To set up and run Flutter, your improvement surroundings ought to meet these minimal requirements:
Operating Systems: Windows 10 or later (64-bit), x86-64 based.
Disk Space: 1.64 GB (does now not consist of disk house for IDE/tools).
Tools: Flutter relies upon this equipment being reachable in your environment.
Windows PowerShell 5.0 or more modern (this is pre-installed with Windows 10)
Git for Windows 2. x, with the Use Git from the Windows Command Prompt option.
If Git for Windows is already installed, make certain you can run git instructions from the command instant or PowerShell.
the Flutter SDK
You are now ready to run Flutter commands in the Flutter Console.
Update your path
Run flutter doctor
From a console window that has the Flutter listing in the direction (see above), run the following command to see if there are any platform dependencies you want to entire the setup:
C:\src\flutter>flutter doctor
This command assessments your
environment and shows a file
of the fame of your Flutterinstallation. Check the output cautiously for different
software program you may want to set up or similarly
duties to operate (shown in daring text).
For example:
[-] Android toolchain - develop for Android devices
• Android SDK at D:\Android\sdk
✗ Android SDK is missing command line tools; download from
https://goo.gl/XxQghQ
• Try re-installing or updating your Android SDK,
visit https://docs.flutter.dev/setup/#android-setup
for detailed instructions.
Android setup
Install Android Studio
Set up your Android device
To put together to run and check your Flutter app on an Android device, you want an Android gadget strolling Android 4.1 (API stage 16) or higher.
Enable Developer alternatives and USB debugging on your device. Detailed guidelines are on hand in the Android documentation.
Windows-only: Install the Google USB Driver.
Using a USB cable, plug your smartphone into your computer. If brought on on your device, authorize your laptop to get entry to your device.
In the terminal, run the flutter gadgets command to confirm that Flutter acknowledges your linked Android device. By default, Flutter makes use of the model of the Android SDK the place your ADB device is based. If you prefer Flutter to use a specific setup of the Android SDK, you should set the ANDROID_SDK_ROOT surroundings variable to that setup directory.