cannot run program "git.exe":CreateProcess
程序员文章站
2022-05-19 22:56:37
...
在使用android studio从git上check项目的时候报错cannot run program git.exe:CreateProcess error=2 请检查下面步骤: 下载Github For Windows客户端并安装。 成功安装之后,连接你的账户。 然后设置你的环境变量,参考pat h 比如: D:\git\Git\bin 当然了,
在使用android studio从git上check项目的时候报错cannot run program "git.exe":CreateProcess error=2
请检查下面步骤:
- 下载 Github For Windows 客户端并安装。
- 成功安装之后,连接你的账户。
- 然后设置你的环境变量,参考path比如:D:\git\Git\bin
当然了,如果你不想设置环境变量 : Settings -> Version Control -> Git 之后,在选项 "Path to Git Executable" 你可以看到 "git.exe" , 给它赋值:D:\git\Git\bin,后面有test按钮,测试之后可以发现地址是可以使用的。
good luck!~
推荐阅读
-
Cannot run program "/usr/local/android-sdk-linux/build-tools/23.0.2/aapt": error=2, No such file or
-
Pycharm:Error: Cannot run programError: Cannot run program......CreateProcesss error=2
-
Cannot run program "cmd.exe" 和CreateProcess error=740
-
Error running PHP executable: Cannot run program php.exe: CreatePorcess error=三
-
Cannot run program "/usr/local/android-sdk-linux/build-tools/23.0.2/aapt": error=2, No such file or
-
cannot run program "git.exe":CreateProcess
-
Error running PHP executable: Cannot run program php.exe: CreatePorcess error=三
-
java.io.IOException: Cannot run program "bash"
-
Error running PHP executable: Cannot run program php.exe: CreatePorcess error=三
-
Android:java.io.IOException: Cannot run program "/system/xbin/su": error=13, Permission denied