Home > OS >  Flutter Doctor - Android toolchain (Missing)
Flutter Doctor - Android toolchain (Missing)

Time:01-18

I ran a fresh installation of the latest version of Flutter and then ran flutter doctor. Everything is fine but I always get this error (this is why I am reinstalling flutter):-

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.   
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

I have tried several fix like going to this website -> Android SDK Command-Line Tools

CodePudding user response:

Go to your Terminal and Simply Run :

flutter doctor --android-licenses

It will solve this issue .

  •  Tags:  
  • Related