Search code examples
androidmacosflutterterminalandroid-sdk-2.3

Showing error in the "flutter doctor" about Android toolchain


Showing error about android toolchain

!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
✗ Android license status unknown.
  Try re-installing or updating your Android SDK Manager.
  See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for
  detailed instructions.

So I read about this on how to fix this

So I found a command named "flutter doctor --android-licenses" and output of "flutter doctor --android-licenses" is

Android sdkmanager tool not found
(/Users/sagarkhurana/Library/Android/sdk/tools/bin/sdkmanager).
Try  re-installing or updating your Android SDK,
visit https://flutter.dev/setup/#android-setup for detailed instructions.

and I already have android studio and and it's SDK location is "/Users/sagarkhurana/Library/Android/sdk"

Please help me I searched it alot but got no result Thanks


Solution

  • I had the same problem and I solved it by following the solution at this link; I use Linux but I believe it will fix your problem regarding the operating system you are using.