用Android Studio git设置颤抖

发布于 2025-02-12 18:32:45 字数 371 浏览 2 评论 0原文

无法使用Flutter&显示git的错误也

d:\ flutter \ bin \ flutter.bat Doctor -verbose 错误:无法在您的路径中找到git。

过程以退出代码1'Where''被识别为内部或外部命令, 可操作的程序或批处理文件。

我已经安装了git,flutter和dart,甚至将其添加到我的路径中(,尽管我不小心创建了一个新的路径文件,该文件会导致覆盖路径文件

但是我再次将其添加到我的路径变量中,但仍然无法使用 我卸载并再次安装了git 添加.../bin目录到路径,但仍然无法正常

unable to use flutter & showing errors for git also

D:\flutter\bin\flutter.bat doctor --verbose
Error: Unable to find git in your PATH.

Process finished with exit code 1'where' is not recognized as an internal or external command,
operable program or batch file.

I've already installed git, flutter and dart, Even added it to my PATH (although I accidentally created a new path file that causes overwriting the PATH file )

but I again added it to my path variables but still it's not working
i uninstalled and installed git again
added .../bin directories to path but still it isn't working

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

嗼ふ静 2025-02-19 18:32:45

它奏效了
喜欢: -

驱动名称或路径\ program Files \ git \ bin

驱动器名称或路径\ dart \ bin \ bin \ bin

驱动器名称或路径\ program \ program文件\ git \ bin \ git.exe

驱动名称或路径\ flutter \ bin

c:\ windows

It worked I've just added system32 (C:\Windows\System32) path to my environment variables PATH and the rest of the necessary path locations
like :-

drive name or path\Program Files\Git\bin

drive name or path\Dart\bin

drive name or path\Program Files\Git\bin\git.exe

drive name or path\flutter\bin

C:\Windows

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文