小编MJ *_*bri的帖子

Flutter目录不是GitHub项目的克隆

我从windows 10中的https://flutter.io/setup-windows/(flutter_windows_v0.5.1-beta.zip)下载了Flutter,并遵循指南,在C:\ Users\M中解压缩.Junaid并打开了flutter-console.bat.我试图运行扑医,但得到了以下

Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       The to set up flutter, run the following command:
       git clone -b beta https://github.com/flutter/flutter.git
Run Code Online (Sandbox Code Playgroud)

颤振错误

重新检查正确安装的依赖关系Git和PowerShell以及路径变量也是正确的 - C:\ Users\M.Junaid\flutter\bin

我试过这些但没什么用的:

  1. 试图在不同的位置提取C:\ flutter,在AppData等.
  2. 以管理员身份运行flutter_console.bat.
  3. cd flutter然后运行命令

flutter

6
推荐指数
4
解决办法
7438
查看次数

标签 统计

flutter ×1