- Go to: https://docs.flutter.dev/install/manual
- Choose your OS (Windows, macOS, Linux).
- Download the Flutter SDK ZIP file.
- Extract the zip to a location, e.g.,
C:\src\flutter(Windows) or~/flutter(macOS/Linux). - Add Flutter to your system PATH:
On Windows:
- Search for “Environment Variables” > Edit environment variables.
- Under User variables, select PATH > Edit.
- Add new entry:
C:\src\flutter\bin(adjust path if different). - Click OK to save.
On macOS/Linux:
- Open terminal and add to
~/.bashrc,~/.zshrc, or~/.profile:
export PATH="$PATH:/path/to/flutter/bin"- Go to the Android Studio downloads page.
- Download the package for your OS:
- Windows:
commandlinetools-win.zip - Mac:
commandlinetools-mac.zip - Linux:
commandlinetools-linux.zip
- Windows:
- Extract the ZIP file to a directory of your choice, e.g.,
~/android/cmdline-tools.
Add the SDK cmdline-tools/bin directory to your PATH.
Example for Linux/macOS (add to .bashrc or .zshrc):
export ANDROID_SDK_ROOT=$HOME/android
export PATH=$PATH:$ANDROID_SDK_ROOT/cmdline-tools/tools/binsdkmanager --sdk_root=$ANDROID_SDK_ROOT "platform-tools" "emulator" "system-images;android-33;google_apis;x86_64" "platforms;android-33" "build-tools;33.0.0"
avdmanager create avd -n myEmulator -k "system-images;android-33;google_apis;x86_64" --device "pixel"
emulator -avd myEmulator
run flutter clean and flutter run from root folder