Android studio 使用flutter插件 运行第一个flutter项目 报错 Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.


在Android studio中新建了flutter项目。运行报错licence not accepted。

Warning: License for package Android SDK Build-Tools 28.0.3 not accepted.

 在控制台运行 flutter doctor 会诊断出:

 

此时运行: flutter doctor --android-licenses。然后一路yes,就可以了。

 

 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM