Prepare the host

NOTE: Below is WIP, currently limited to Windows/Android.

Table of contents

  1. Install Dependencies
  2. Configure Android SDK
  3. Configure Flutter SDK
  4. Install Visual Studio Code plugins
    1. Flutter
    2. Android iOS Emulator

Install Dependencies

Configure Android SDK

Check the SDK Manager for options.

  • Set ANDROID_SDK_ROOT to C:\src\android
  • Modify batch scripts with set JAVA_HOME=C:\JAVA\jdk8u202-b08 before the JAVA_HOME check.
    • This is because Java 11 is my default but Android still requires Java 8.
  • Install latest platform tools
    • sdkmanager.bat "platform-tools" "platforms;android-28"
  • Install latest build tools
    • sdkmanager.bat "platform-tools" "build-tools;28.0.3"
  • Install latest system image
    • sdkmanager.bat "system-images;android-28;google_apis_playstore;x86_64"

Configure Flutter SDK

  • Open Flutter Console with C:/src/flutter/flutter_console.bat
  • Check installation
    • flutter doctor
  • Accept Android licences
    • flutter doctor --android-licenses

Install Visual Studio Code plugins


Android iOS Emulator

  • Set Emulator Path to C:\\src\\android\\tools