Skip to content Skip to sidebar Skip to footer

I Am Getting This Errors “cmdline Tools Component Is Missing” I Have Installed Flutter And Android Studio, How To Solve Them, Or What Has To Be Done?

[here is the Doctor Summary][1] cmdline-tools component is missing Run `path/to/sdkmanager --install 'cmdline-tools;latest' [1]: https://i.stack.imgur.com/cqbIw.png

Solution 1:

Open Android Studio then settings then do as the picture shows, done.

enter image description here

Solution 2:

Check the the Sdk folder besides the Android Studio folder: it should have a cmdline-tools folder inside. If not install it by: Open your android studio> tools> system settings> android sdk> select android sdk command line tools, ..build tools, ..sdk platform tools, ..sdk tools > Click OK. Also take a note of the sdk installation location given on top. You might need it further.

Next, Have you added the following environment variables : ANDROID_HOME, ANDROID_SDK_ROOT, JAVA_HOME correctly?

Next, add the location of the platform tools folder to environment variable PATH.

The platform tools folder is installed along with android studio, in the Sdk folder besides Android Studio folder. ("C:\Android\Sdk\platform-tools")

Finally, run flutter doctor --android-licenses to accept the license conditions.

Please post the result of flutter doctor -v from a command prompt if you need further help.

Post a Comment for "I Am Getting This Errors “cmdline Tools Component Is Missing” I Have Installed Flutter And Android Studio, How To Solve Them, Or What Has To Be Done?"