- Follow the https://docs.flutter.dev/get-started/install/windows/mobile guide, notably:
- Install Android Studio Windows edition
- Install Git for Windows from MinGW
- Install the Flutter SDK manually and add the path variables (VS code method is spotty). Also put it in your user directory and not the C:\ drive directly where permissions will be tricky.
- Keep running
flutter doctor
in PowerShell and follow the prompts until it's happy to build Android apps (you'll likely need to install command line tools from the Android SDK manager, and then runflutter doctor --android-licenses
)
- Add your SSH key to Windows via the Git Bash, like you would on Linux
- Clone your project down to Windows, and open the Android folder in Android studio
- Update the android/local.properties file with the flutter.sdk path
- Run a Gradle Sync, address anything else that pops up, and accept its offer to use the guided 'AGP Upgrade Assistant' to upgrade gradle and make everything happy
- From the root of the project, run
flutter pub get
to make sure your dependencies - Run the app on a physical or virtual emulator and pray it works well, Googling anything else that pops up
Created
December 16, 2024 15:53
-
-
Save coulterpeterson/c930cbbcac7fb83d9bc9c3d77fa5d6cd to your computer and use it in GitHub Desktop.
Flutter Setup on Windows 11 Guide
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment