Flutter执行flutter docter脚本报错The Flutter directory is not a clone of the GitHub project. 原因是你的sdk目录下缺少一个.git文件,这时我们在sdk目录下 然后create new repository,选择到该文件夹下,这样再双击flutter_console.bat,输入flutter doctor即可。