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

技术分享图片

 

 

技术分享图片

 

相关文章