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.
First, select Windows from the Official Site and select Windows. Go to the Windows installation screen and click the link flutter_windows_1.22.3-stable.zip to start the download. Place the downloaded file anywhere you like, right-click and click Unzip Here to unzip it. The result of decompression looks like this. So you can delete the flutter_windows_1.22.3-stable.zip file.
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, Select a system Click on version information Click System Information under Related Settings to move to Control Panel Home. Click Advanced System Settings to go to System Properties. Click Environment Variables in System Properties Select Path in the system environment variable and press the edit button to pop up the edit windows for the environment variable name. Press the new button, paste the path you just copied, and press the OK button.
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
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: