Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Once they are installed, add the following variables to your path to ensure they are accessible. 

    • [Android SDK installation directory]/platform-tools

    • [Android SDK installation directory]/emulator

    • [Android SDK installation directory]/tools

    • [Android SDK installation directory]/tools/bin

  2. Download the Java Development Kit if you do not have it already. Make sure you know the directory it is installed in

  3. Create some environment variables:

    • Create a JAVA_HOME variable and set the directory to your jdk installation

    • Create a ANDROID_HOME variable and set the directory to your android sdk installation

  4. Run flutter doctor. If this is no longer showing you a warning/error for Android Studio and Android Toolchain, run flutter doctor --android-licenses and accept all licenses. If you are still running into issues, watch this video here

...