flutter坑:Android license status unknown and also Android sdkmanager tool not found

历览千载书,时时见遗烈。这篇文章主要讲述flutter坑:Android license status unknown and also Android sdkmanager tool not found相关的知识,希望能为你提供帮助。
android license status unknown and also Android sdkmanager tool not foundflutter坑:Android license status unknown and also Android sdkmanager tool not found
首先这个问题在windows上和macOS上的处理都是一样的,问题产生的原因是Android SDK把文件夹tools换成了cmdline-tools。但是flutter没有做出相应更新。基本上如果是全新安装flutter和Android SDK的机器就一定有这个问题了。

flutter坑:Android license status unknown and also Android sdkmanager tool not found

文章图片

【flutter坑:Android license status unknown and also Android sdkmanager tool not found】 
  解决方案:
安装过时的包:Android SDK Tools
flutter坑:Android license status unknown and also Android sdkmanager tool not found

文章图片

 
  这个包装好后会把至少目前(2020.3)flutter需要的文件安装完毕。

    推荐阅读