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

 

 

 

posted @ 2018-12-10 12:18  cralor  阅读(6644)  评论(0编辑  收藏  举报