Issue
Android toolchain - I develop for Android devices (Android SDK version 30.0.3):
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.
Solution
If you are a Mac user, just open your terminal and paste:
cd Library/Android/sdk/tools/bin./sdkmanager --install "cmdline-tools;latest"
And hit Enter.
This command will install the latest version of cmdline-tools.
Then, run flutter doctor
, and the error will be gone.
Answered By - Prajeet Naga
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.