Android studio 使用flutter插件 運行第一個flutter項目 報錯 Warning: License for package Android SDK Build-Tools 28

在Android studio中新建了flutter項目。運行報錯licence not accepted。android

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

 在控制檯運行 flutter doctor 會診斷出:ui

 

此時運行: flutter doctor --android-licenses。而後一路yes,就能夠了。blog

 

 

相關文章
相關標籤/搜索