Skip to main content

Flutter Bootstrap (With Android Emulation)

Source: https://docs.flutter.dev/get-started/install/windows/mobile

Download and install the Windows version of the following packages:

  • Git for Windows 2.27 or later to manage source code.
  • Android Studio 2023.2.1 (Iguana) or later to debug and compile Java or Kotlin code for Android. Flutter requires the full version of Android Studio.

Configure a text editor or IDE.

Install the Flutter SDK in VS Code

To install Flutter using these instructions, verify that you have installed Visual Studio Code 1.77 or later and the Flutter extension for VS Code.

  1. Launch VS Code.

  2. To open the Command Palette, press Control + Shift + P.

  3. In the Command Palette, type flutter.

  4. Select Flutter: New Project.

  5. VS Code prompts you to locate the Flutter SDK on your computer.

    1. If you have the Flutter SDK installed, click Locate SDK.

    2. If you do not have the Flutter SDK installed, click Download SDK.

      This option sends you the Flutter install page if you have not installed Git for Windows as directed in the development tools prerequisites.

    3. Choose C:\dev for your flutter install path

  6. When prompted Which Flutter template?, ignore it. Press Esc. You can create a test project after checking your development setup.

You will get a notification in VS Code (Bottom right). Choose the option to add flutter to your system's path.

Download and Configure Android Studio

https://developer.android.com/studio

https://docs.flutter.dev/get-started/install/windows/mobile#set-up-the-android-emulator

Enable Android SDK Command-line Tools. Go to Android Studio:

Projects > More Actions > SDK Manager > SDK Tools tab > Enable Android SDK Command-line Tools (latest) > OK

Back to your flutter project, in the console. flutter doctor --android-licenses Agree to all (y, enter)

Verify installation. RunĀ flutter doctor in the console. Mostly everything should be checked green.

End of Flutter Bootstrap (With Android Emulation)