flutter Unable to find git in your PATH

运行flutter doctor,提示Unable to find git in your PATH,解决办法:

在系统的环境变量中增加:

1. C:\Program Files (x86)\Git\bin

2. C:\Program Files (x86)\Git\mingw64\libexec\git-core

注销系统,重新登录,正常!

    原文作者:cxwl3sxl
    原文地址: https://blog.csdn.net/cxwl3sxl/article/details/80803283
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞