扑医生显示错误“:在您的PATH中找不到git。”

时间:2019-05-16 06:58:05

标签: mysql git cmd flutter path-variables

运行扑打医生时。显示“ MySQL”错误不被识别为内部或外部命令, 可操作的程序或批处理文件。错误:在您的PATH中找不到git。

我已经在环境路径变量中添加了路径。

ANDROID_HOME - E:\Android\local\android_sdk
%ANDROID_HOME%\tools
%ANDROID_HOME%\platform-tools
C:\Users\acer\Src\flutter\bin
C:\Program Files\Git\cmd
C:\Program Files\Git\git-cmd.exe
C:\Program Files\Git\bin\git.exe
E:\Android\local\android_sdk\tools\bin
C:\Windows\System32

Microsoft Windows [Version 10.0.17134.765]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\acer>flutter doctor
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
'MySQL' is not recognized as an internal or external command,
operable program or batch file.
Error: Unable to find git in your PATH.

C:\Users\acer>

我希望是

       C:\Users\acer>flutter doctor
       Doctor summary (to see all details, run flutter doctor -v):
       [√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows 
       [Version 10.0.17134.765], locale
        en-US)
       [√] Android toolchain - develop for Android devices (Android SDK 
       version 28.0.3)
       [√] Android Studio (version 3.4)
       [√] VS Code, 64-bit edition (version 1.31.1)
       [!] Connected device
       ! No devices available

       ! Doctor found issues in 1 category.

但实际上是

C:\Users\acer>flutter doctor
    'MySQL' is not recognized as an internal or external command,
    operable program or batch file.
    'MySQL' is not recognized as an internal or external command,
    operable program or batch file.
    Error: Unable to find git in your PATH.

0 个答案:

没有答案