Installing Flutter on Windows
Download Flutter:
- Go to the Flutter SDK download page and download the latest Flutter SDK for Windows.
- Extract the
.zipfile and move theflutterfolder to a directory likeC:\src.
Add Flutter to PATH:
- Search for “Environment Variables” in the Start menu and open it.
- Click Environment Variables > Path > Edit.
- Add a new entry for the
flutter\bindirectory, for example:
Install Git for Windows:
- Download Git for Windows and install it, as Flutter requires Git for some commands.
Install Android Studio:
- Download and install Android Studio.
- Open Android Studio, go to Settings > Appearance & Behavior > System Settings > Android SDK, and install the SDK tools.
- Install the Android emulator and ensure that the required SDKs are checked.
Set Up Android Device/Emulator:
- Open AVD Manager in Android Studio and create a new emulator.
Run Flutter Doctor:
- Open Command Prompt or PowerShell and run:
- Flutter Doctor will check for any missing dependencies and guide you through completing the setup.
Comments
Post a Comment