This post is for those who have problems installing Flutter.
Step by step
Follow the steps below :
1.If you country is among the sanctioned countries, you must use VPN.(Test VPN : Open Websit Android Studio : Website Android Stdio.
2.Flutter supports 64-bit version of Microsoft Windows 10 or later. These versions of Windows should include the required Windows PowerShell 5 or later.
3.Download laste release version Dart : Download Dart for Windows
4.Download laste release version Flutter : Download Flutter for Windows
5.Download Android Studio : Android Stdio for Windows .
6.Download VSCode : VScode for Windows .
7.You must install it like this :
The files you downloaded with the software : WinRAR
export like this :
C:Dartdart-sdk
C:flutter
or
C:srcDartdart-sdk
C:srcflutter
Add paths in Environment Variables.
Press key Windows and search : env
or
Press key Windows and search : Edit environment variables
Enter Button Environment Variables…
Section : User variables for usernamepc
Edit Path :
Button New >> Button Browse…
C:Dartdart-sdkbin
C:flutterbin
all ok
8.Install and Open Android Stuido.
9.Download SDK Android Stuido.
10.Add and Install Plugins Dart and Flutter in Android Studio.
11.Create Project Flutter and Enter Path SDK Flutter :
C:flutter
12.Install and open VSCode.
13.Add and Install Plugins Dart and Flutter.
Enjoy.
Note:
Most of the errors encountered are related to step 11
For example :
checkout at C:flutter. Consider adding C:flutterbin to the front of your path.
The editing path is true but gives an error because step 11 SDK flutter not known.
I was struggling with this error for two weeks.
You must create a Flutter Android project that asks you for the Flutter SDK path.
Install Dart and Flutter.