Home > Enterprise >  Flutter Doctor licence status issue Android toolchain - develop for Android devices (Android SDK ver
Flutter Doctor licence status issue Android toolchain - develop for Android devices (Android SDK ver

Time:12-30

I run flutter doctor and it throw me android status unknown what can i do ?

Here is my flutter Doctor result:-

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-x64, locale
    en-GB)
[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.
[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.0)
[✓] Connected device (2 available)

CodePudding user response:

try these:

  1. Open your terminal
  2. type flutter doctor --android-licenses
  3. press y to accept every license.

then run flutter doctor and see result

CodePudding user response:

try to run following command in terminal

flutter doctor --android-licenses

CodePudding user response:

If you are looking for the solution to this warning, this is a simple tested way of fixing it

  1. Open your terminal
  2. execute flutter doctor --android-licenses
  3. Run flutter doctor
  • Related