How to Setup Flutter on Windows | How to Install Flutter on Windows

Опубликовано: 07 Октябрь 2024
на канале: Atif Naseem
21,708
141

How to Setup Flutter on Mac
   • How To Install Flutter On Mac  


Setting up flutter on Windows

1) Download and install Git 00:14
• https://git-scm.com/downloads

2) Download and unzip Flutter SDK 00:52
• https://flutter.io/get-started/install/
• Unzip it anywhere like D:\flutter

3) on Windows add Flutter to the PATH environment variable
• Go to “Control Panel ... User Accounts ... User Accounts ... Change my environment variables”
• Under “User variables” check if there is an entry called “Path”:
If the entry does exist, append the full path to flutter\bin using ; as a separator from existing values.
If the entry does not exist, create a new user variable named Path with the full path to flutter\bin as its value.
• Restart the PC.

4) Download and install Android Studio 02:15
• https://developer.android.com/studio/...

5) Install the Flutter and Dart plugins 03:27
• Start Android Studio.
• Open plugin preferences File ... Settings ... Plugins.
• Select Browse repositories…, select the Flutter plug-in and click install.
• Click Yes when prompted to install the Dart plugin.
• Click Restart when prompted.

6) Setup one Android Device from ADB 04:36

7) Set Android SDK path for Flutter 05:28
• Open your terminal
• flutter config --android-sdk /path/to/android/sdk
SDK folder
• flutter config --android-studio-dir /path/to/android/studio

8) Android License 06:06
• Open your terminal.
• flutter doctor --android-licenses
press y to accept, this process may occurred several times.

9) configure your platform SDK
• in Android Studio, go to File ... Project structure and choose your platform sdk.

#FlutterInstallation #HowToSetupFlutter #FlutterTutorial