
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 doctorDoctor 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