解决方法

把刚刚下载的Flutter安装包删掉,重新在想要安装的目录下运行用cmd打开命令行执行git clone -b beta https://github.com/flutter/flutter.git命令

cmd打开命令行执行flutter doctor命令出现下面错误 Error: The Flutter directory is not a clone of the GitHub project.

如果此时路径名称已改需要重新在环境变量path中进行更改

然后在cmd打开命令行执行flutter doctor命令成功

cmd打开命令行执行flutter doctor命令出现下面错误 Error: The Flutter directory is not a clone of the GitHub project.

 

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
  • 2021-06-27
  • 2022-01-28
  • 2021-11-30
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2021-06-12
  • 2021-09-13
  • 2021-10-04
  • 2022-12-23
相关资源
相似解决方案