Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save otnansirk/9ed131be3395b840bb14376d87ac6412 to your computer and use it in GitHub Desktop.
Save otnansirk/9ed131be3395b840bb14376d87ac6412 to your computer and use it in GitHub Desktop.
Try to run :
flutter config --android-sdk /home/[YOUR_USER]/Android/Sdk
if you get this error
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
✗ Android licenses not accepted. To resolve this, run: flutter doctor
--android-licenses
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.48.2)
[!] Connected device
! No devices available
Try Run :
flutter doctor --android-licenses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment