当前位置:   article > 正文

Flutter AndroidStudio 开发环境报错cmdline-tools component is missing_android sdkmanager tool was found, but failed to r

android sdkmanager tool was found, but failed to run

报错信息如下:

[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)

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.

X Android license status unknown.

Run flutter doctor --android-licenses to accept the SDK licenses.

See Windows install | Flutter for more details.

解决方法:

设置下SDK tools的路径

使用如下命令设置自己的Android tools的路径

flutter config --android-sdk "D:\Android\Sdk"

结果如下

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/119219
推荐阅读
相关标签
  

闽ICP备14008679号