1. Prerequisites
- Operating system: Windows 10 or higher (x86-64 based 64-bit operating system).
- Disk space: At least 1.64 GB of space should be available in addition to installing the IDE and some tools.
- Settings: Developer mode must be enabled on Windows 10/11.
- Tools: To use Flutter normally in your development environment, it depends on the following tools:
Windows PowerShell 5.0 or higher (pre-installed in Windows 10)
Git for Windows 2.x, and check the From Windows Command Prompt Symbol using Git options.
If the Windows version of Git is already installed, make sure you can execute git commands directly from the command prompt or PowerShell.
2. Obtain Flutter SDK
This is downloaded based on the latest SDK provided by Flutter’s official website.
After decompression, place it according to its location, such as (D:\flutter)
Be careful
not to put Flutter in a path with special characters or spaces.
Do not install Flutter in a folder that requires high permissions, such as C:\Program Files\.
3. Whether the test is successful
Method 1: Open the unzipped folder, find it flutter_console.bat
and double-click to open it.
enterflutter doctor
Method 2: Open with Windows command window
If you want to open it in the Windows command window, you need to configure the environment variables.
Open the path in the system variables and find the bin directory in flutter.
Open the command prompt, enter flutter
to check the flutter dependency
input flutter doctor
to see what dependencies are missing, and the download address has been provided.
4. Set up the editor
Because the Windows system can only develop flutter Android applications, we need to download the Android IDE
There is a download address at the back of the first one X
in the picture above. The address given in the picture above cannot be opened. You can change it to Google's
https://developer.android.google.cn/studio
and place it according to your needs
. If this problem occurs, stop and open it again. Just install the package
Select custom installation and continue to next. At this step , continue to
the location you want to install . In this step, select accept all, and then finish. The editor page will appear at the end.
For specific installation instructions, please refer to https://www.yii666.com/blog/56314.html?action=onAll
Finally this page appears