Flutter: Android Tool component missing

In this article, we will see how can we fix Android Tool component missing error. This error started coming after flutter 2.5.0 and above. The solution simple and can be done in less than 5 minutes.

The solution to this problem is different for windows and mac.

As the solution for both the OS/Platform is not same. So, I made two different video with their respective solution.

PS: Only the thumbnail is same

Mac

For mac the solution is pretty simple and it will take less than a minute.

Part 1

  • Step 1: Open Terminal
  • Step 2. Type cd ~
  • Step 3: Type Library/Android/sdk/tools/bin/sdkmanager --install "cmdline-tools;latest"

Congratulation you have successfully fixed the issue

Windows

If you have a windows machine the you need to first of all find the skdmanager path. The easiest way to find the path is from Android Studio.

Part 1

  • Step 1: Open Android Studio
  • Step 2. Go to Setting and select Appearance and Behavior
  • Step 3: Select system setting and then select Android SDK
  • Step 4: Now you will find the path of your SDK

Part 2

  • Step 1: Go to your file explorer(This PC)
  • Step 2: Paste the SDK path to the address bar
  • Step 3: Now you will see tools directory there
  • Step 4: Inside the tools there you will find the bin directory
  • Step 5: Open bin and copy the path from address bar

Part 3

  • Step 1: Open you CMD(Command Prompt) and type cd the the path you copied in Part 2(Step 5)
  • Step 2: type sdkmanager.bar --install "cmdline-tools;latest"

Congratulation you have successfully fixed the issue