如何解决在命令提示符下不运行命令“ flutter doctor”的问题?

时间:2019-07-02 16:33:06

标签: flutter sdk command-prompt

问题

我想检查Flutter SDK是否在我的Windows命令提示符下运行。但是由于收到一些错误消息,我在命令提示符下运行flutter命令时遇到问题。

我安装了Flutter SDK,并遵循了https://flutter.dev/docs/get-started/install/windows网站上编写的所有说明。当我在命令提示符下运行“ flutter doctor”命令时,错误显示如下:

some_list = []
for l in input:
    for l_ in l:
        if a in l_:
            some_list.append(input.index(l))
        else:
            pass
location_ = some_list[-1]
print location_

我希望该命令将显示以下结果:

C:\WINDOWS\system32>flutter doctor
Error: The Flutter directory is not a clone of the GitHub project.
       The flutter tool requires Git in order to operate properly;
       to set up Flutter, run the following command:
       git clone -b stable https://github.com/flutter/flutter.git

C:\WINDOWS\system32>

0 个答案:

没有答案
相关问题