-
⬇️ Download Flutter SDK:
- Download the stable release of Flutter SDK.
- The SDK should download to your default download directory (usually
%USERPROFILE%\Downloads
).
-
📁 Create a Flutter Folder:
- Create a folder for the Flutter SDK in a desired location (e.g.,
C:\Users\{username}\dev\flutter
).
- Create a folder for the Flutter SDK in a desired location (e.g.,
-
📦 Extract the SDK:
- Extract the SDK ZIP file to the Flutter folder you created.
-
⚙️ Update Windows PATH Variable:
- Add the Flutter SDK
bin
directory (%USERPROFILE%\dev\flutter\bin
) to your PATH environment variable. - Search "Environment Variables".
- In the "User variables for {username}" section, locate or create a
Path
variable. - Add the Flutter
bin
directory (%USERPROFILE%\dev\flutter\bin
) to the list of paths. - Ensure it is at the top of the list for priority.
- Add the Flutter SDK
-
💻 Install Android Studio:
- Download and install Android Studio.
- Follow the setup wizard and install the necessary components such as:
- 🧩 Android SDK Platform, API 34.0.0
- 🧰 Android SDK Command-line Tools
- 🛠️ Android SDK Build-Tools
- 🔧 Android SDK Platform-Tools
- 🕹️ Android Emulator
-
💻 Create and Configure an Android Emulator:
- Launch Android Studio.
- Go to
Tools > Device Manager
. - Click on "Create Device" to set up a new virtual device (Phone or Tablet).
- Choose a device definition and system image, then follow the prompts to complete the configuration.
- Once created, start the emulator.
-
📜 Agree to Android Licenses:
- Open a command prompt or PowerShell.
- Run the command
flutter doctor --android-licenses
to accept the licenses for the Android SDK.
- Run Flutter Doctor:
- Open a command prompt or PowerShell.
- Run the command
flutter doctor
. - Check the output to verify your setup.
- If there are any issues, run
flutter doctor -v
for detailed information.
- Once you have installed all the necessary components, you can start developing Flutter apps for Windows and Android.