安裝完androidsdk和android studio后,打開控制臺,出現(xiàn)錯(cuò)誤
解決辦法
找到自己安裝android sdk的位置,然后安裝上,并將下面的勾選上文章來源:http://www.zghlxwxcb.cn/news/detail-705365.html
再次運(yùn)行 flutter doctor 不報(bào)錯(cuò),出現(xiàn)以下畫面文章來源地址http://www.zghlxwxcb.cn/news/detail-705365.html
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.18363.1916], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Chrome - develop for the web
[√] Android Studio (version 4.1)
[√] VS Code
[√] VS Code, 64-bit edition (version 1.62.0)
[√] Connected device (2 available)
? No issues found!
到了這里,關(guān)于flutter報(bào)錯(cuò)-cmdline-tools component is missing的文章就介紹完了。如果您還想了解更多內(nèi)容,請?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!