Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter - cmdline-tools component is missing

While running flutter doctor I am receiving this error:

✗ cmdline-tools component is missing
  Run `path/to/sdkmanager --install "cmdline-tools;latest"`
  See https://developer.android.com/studio/command-line for more details.
✗ 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.

I have tried to install cmdline-tools on SDK Manager but it did not help. How can I solve this problem?

like image 751
Joe Rakhimov Avatar asked Oct 21 '25 04:10

Joe Rakhimov


1 Answers

Running this command worked for me:

flutter config --android-sdk /path/to/your/sdk
like image 190
Joe Rakhimov Avatar answered Oct 22 '25 18:10

Joe Rakhimov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!