Skip to content

Instantly share code, notes, and snippets.

@instinctive
Created May 5, 2021 19:04
Show Gist options
  • Save instinctive/84f3b11eecf8f22e589e9a202caca77f to your computer and use it in GitHub Desktop.
Save instinctive/84f3b11eecf8f22e589e9a202caca77f to your computer and use it in GitHub Desktop.
How to install Flutter and Android Studio

Additional undocumented steps needed:

  • Studio > Configure > SDK Tools > Command line tools (install them)
  • flutter config --android-sdk <path to /Sdk/>
  • flutter config --android-studio-dir <path to /Studio/>
  • export ANDROID_HOME=<path to /Sdk/>
  • export PATH=$ANDROID_HOME/platform-tools:$ANDROID_HOME/platform-tools:$PATH
  • flutter doctor
  • flutter doctor --accept-licenses

If you move Studio or Sdk everything will be borked.

I have an env file I can source to add all the paths so they don't otherwise pollute the namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment