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

时间:2018-12-10 14:01:58   收藏:0   阅读:2156

在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,就可以了。

技术分享图片

 

 

技术分享图片

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!