Building a development environment for Flutter on Win10 --- Flutter SDK Install (2020 preservation version)

I started Flutter.

I want to develop an app with the insanely popular framework Flutter, but I've heard that it's a hassle to build a development environment for Flutter. Therefore, the text is created as a memorandum.

There are three main parts. ● Download ● Setting environment variables ● Dependency confirmation

Now let's get down to the main topic.

download

First, select Windows from the Official Site and select Windows. tempsnip.png Go to the Windows installation screen and click the link flutter_windows_1.22.3-stable.zip to start the download. tempsnip2.png Place the downloaded file anywhere you like, right-click and click Unzip Here to unzip it. tempsnip4.png The result of decompression looks like this. 1.PNG So you can delete the flutter_windows_1.22.3-stable.zip file.

Setting environment variables

Open the above flutter folder, enter the child folder of bin, copy the following path

C:\flutter-stabe\flutter\bin

Click the Windows icon at the bottom left, press the Settings icon, tempsnip5.png Select a system tempsnip6.png Click on version information tempsnip7.png Click System Information under Related Settings to move to Control Panel Home. tempsnip8.png Click Advanced System Settings to go to System Properties. tempsnip9.png Click Environment Variables in System Properties tempsnip10.png Select Path in the system environment variable and press the edit button to pop up the edit windows for the environment variable name. tempsnip11.png Press the new button, paste the path you just copied, and press the OK button. tempsnip12.png

Start the command prompt on Windows and check with the following command.

flutter --version

If you get the result as below, it was installed correctly.

Flutter 1.22.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8874f21e79 (9 days ago) • 2020-10-29 14:14:35 -0700
Engine • revision a1440ca392
Tools • Dart 2.10.3

Dependency confirmation

It is necessary to install some related software and tools for building the development environment of Flutter. So let's check the dependency with the following command.

flutter -doctor

Right now, I only install the Flutter SDK, so it's okay if you get the following results.

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.1139], locale ja-JP)
[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, set ANDROID_SDK_ROOT to that location.
      You may also want to add it to your PATH environment variable.

[!] Android Studio (not installed)
[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Also, write the following article for the installation procedure of dependent tools.

that's all. Thank you for reading this far. If you have any questions, feel free to comment.

See you. : grinning:

Recommended Posts

Building a development environment for Flutter on Win10 --- Flutter SDK Install (2020 preservation version)
Java development environment construction on Mac-JDK Install (2020 preservation version)
[Ruby] Building a Ruby development environment on Ubuntu
[For beginners] Until building a Web application development environment using Java on Mac OS
Install Java development environment on Mac
Create a development environment for Ruby 3.0.0 and Rails 6.1.0 on Ubuntu 20.04.1 LTS
Building a Lambda development environment in Eclipse
Building a Kotlin development environment using SDKMAN
Build a Java development environment on Mac
Let's install Docker on Windows 10 and create a verification environment for CentOS 8!
Build a development environment for Docker + Rails6 + Postgresql
[Win10] Build a JSF development environment with NetBeans
Build a development environment for Docker, java, vscode
Install Ubuntu 20.04 in virtual box on windows10 and build a development environment using docker
A memo when building a Rails 5.2 development environment using Docker Desktop + WSL2 on Windows 10 Home
Learn the meaning of "passing the PATH" by building a Java development environment on Mac
Create a Java development environment using jenv on Mac
Build a Ruby on Rails development environment on AWS Cloud9
Let's create a gcloud development environment on a centos8 container
Run kuromoji on Win10 + Eclipse + Java environment (January 2020 version)
[Oracle Cloud] Create a development environment for OCI Java SDK (Visual Studio Code, Maven, CentOS)
Docker × Java Building a development environment that is too simple
Building an environment for copying the book "Test Driven Development"
[Procedure 1 for beginners] Ruby on Rails: Construction of development environment
How to install GNOME as a desktop environment on CentOS 7
[Java development environment construction] Install OpenJDK 11 (Java 11) on macOS with Homebrew.
Install Cloud9 on Raspberry pi 4 and set up Rails development environment
I tried to create a Spring MVC development environment on Mac
How to install Pry after building Rails development environment with Docker
Build a development environment where Ruby on Rails breakpoints work on Windows
Notes on building Kotlin development environment and migrating from Java to Kotlin
Building a haskell environment with Docker + VS Code on Windows 10 Home
Install Rails in the development environment and create a new application
Build a development environment for Django + MySQL + nginx with Docker Compose
Steps to build a Ruby on Rails development environment with Vagrant