Flutter setup in Ubuntu VS Code

Jithin S
Jithin S
Nov 5 · 1 min read

Get Flutter SDK

  • Download the flutter sdk from flutter.dev
  • Extract the files to desired location
tar xf ~/Downloads/flutter_linux_v1.9.1+hotfix.6-stable.tar.xz
  • Add path to Environment varible
export PATH="$PATH:`pwd`/flutter/bin"

Android SDK Path

  • Run Android studio from official site
  • complete android sdk installation
  • set flutter android sdk path
flutter config — android-sdk <path-to-your-android-sdk-path>Example: flutter config — android-sdk /home/$USER/Android/Sdk

Flutter Doctor

Show information about the installed tooling.

  • run flutter doctor to see if all are set.
flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Linux, locale en_IN)

[✓] Android toolchain — develop for Android devices (Android SDK version 29.0.2)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.39.2)
[✓] Connected device (1 available)

• No issues found!

  • All set
  • List devices available
flutter devices

#flutter #vscode #android

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade