Skip to content
All posts
  • #flutter
  • #beginners
  • #android

Android cmdline-tools component is missing - Flutter installation issue

When I installed Flutter, I worked my way through all the steps that the command line spit out when...

Julia ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป GDEJulia ๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป GDE2 min read82
Android cmdline-tools component is missing - Flutter installation issue

When I installed Flutter, I worked my way through all the steps that the command line spit out when running

flutter doctor.

So following the instructions in the command line provided enough information about what to do next to check all the boxes and install Flutter successfully.

But one point didnโ€™t seem to be as easy to fulfill as the others ๐Ÿ˜ฅ.

Error that the Android Studio cmdline-tools component is missing.

Error ๐Ÿ‘พ

[!] Android toolchain - develop for Android devices (Android SKD version 34.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.

Running the command path/to/sdkmanager --install "cmdline-tools;latest" as suggested did not work ๐Ÿ˜“.

After some research, I found out that no additional installation is required, just a change of settings in Android Studio.

To overcome the issue

  • open Android Studio
  • go to Tools in the menu bar and choose SDK Manager (opens the settings)
  • go to Android SDK in the left sidebar
  • in the middle choose SKD Tools (second tab in tab bar)
  • and check Android SDK Command-line Tools (latest)

Android Studio workflow.

After checking this box and running flutter doctor again, everything worked just fine and the installation was successfully completed.

All checkmarks are successfully checked.

Note โš ๏ธ: The second issue Android license status unknown, which is marked with an x in the image worked without any problems when running flutter doctor --android-licenses as suggested in the console.


Thanks for your time and reading. I really appreciate it.

Enjoyed this post?

Join the discussion on dev.to (2 comments) or share it.

Keep reading

4 min read

Red Team vs Blue Team โ€” I Choose You!

Itโ€™s 1999. You slide a Pokรฉmon Red Version cartridge into your Game Boy. Four AA batteries, a...

  • #cybersecurity
  • #programming
  • #webdev
Read