在使用android studio从git上check项目的时候报错cannot run program "git.exe":CreateProcess error=2

请检查下面步骤:

  1. 下载 Github For Windows 客户端并安装。
  2. 成功安装之后,连接你的账户。
  3. 然后设置你的环境变量,参考path比如:D:gitGitbin

当然了,如果你不想设置环境变量 : Settings -> Version Control -> Git 之后,在选项 "Path to Git Executable" 你可以看到 "git.exe" , 给它赋值:D:gitGitbin,后面有test按钮,测试之后可以发现地址是可以使用的。

相关文章:

  • 2022-12-23
  • 2022-01-21
  • 2021-12-18
  • 2021-10-16
  • 2021-03-29
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-25
  • 2021-10-21
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2021-05-11
  • 2021-04-05
相关资源
相似解决方案