flutter doctor出现问题 [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) X Android license status unk

flutter doctor出现问题 [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) X Android license status unk,第1张

概述首先,问题描述: flutter doctorDoctor summary (to see all details, run flutter doctor -v):[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17134.765], locale zh-CN)[ 首先,问题描述:
Flutter doctorDoctor summary (to see all details,run Flutter doctor -v):[√] Flutter (Channel stable,v1.5.4-hotfix.2,on Microsoft windows [Version 10.0.17134.765],locale zh-CN)[!] AndroID toolchain - develop for AndroID devices (AndroID SDK version 28.0.3)    X AndroID license status unkNown.      Try re-installing or updating your AndroID SDK Manager.      See https://developer.androID.com/studio/#downloads or visit      https://Flutter.dev/setup/#androID-setup for detailed instructions.[√] AndroID Studio (version 3.2)[√] VS Code (version 1.34.0)[!] Connected device    ! No devices available! Doctor found issues in 2 categorIEs.
解决办法:

1、 AndroID SDK version 28

AndroID Studio -> SDK Manager -> SDK Platforms tab -> 选择 AndroID 9.0 PIE 并安装

2、AndroID BuildTools version 28.0.3

AndroID Studio -> SDK Manager -> SDK Tools tab -> 选择右下角 Show Package Details -> 在 AndroID SDK Build-Tools 里选择 28.0.3 并下载

然后重启AndroID studio,再在cmd里输入命令即可

参考链接:https://juejin.im/post/5d8c7be5f265da5b8305db5b @H_301_87@ 总结

以上是内存溢出为你收集整理的flutter doctor出现问题 [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) X Android license status unknown. Try re-installing or updating your Android SDK Manager. 的解决方案全部内容,希望文章能够帮你解决flutter doctor出现问题 [!] Android toolchain - develop for Android devices (Android SDK version 28.0.3) X Android license status unknown. Try re-installing or updating your Android SDK Manager. 的解决方案所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1121432.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-29
下一篇 2022-05-29

发表评论

登录后才能评论

评论列表(0条)

保存