当前位置: 首页 > news >正文

Cannot run program git.exe: CreateProcess error=

为什么80%的码农都做不了架构师?>>>   hot3.png

solution to the below error when Android Studio checks out git project:

Cannot run program "git.exe": CreateProcess error=2, 系统找不到指定的文件。

solution:

(from: http://stackoverflow.com/questions/16614410/android-studio-checkout-github-error-createprocess-2-windows)

I've solved the problem , and I will explain how :

Download Github For Windows client and install it.

After The client successfully installed , connect it with your github account.It should be easy , just follow the wizard.

Then you should add git.exe location to your "Path Variable". The location you should add will probably be something like : C:\Users\Your_Username\AppData\Local\GitHub\PortableGit_ca477551eeb4aea0e4ae9fcd3358bd96720bb5c8\bin

Alternatively , if you don't want to add to environment variables. You can open the android studio and go to : Settings -> Version Control -> Git In text box next to "Path to Git Executable" you will see "git.exe" , just give it a full path like so : C:\Users\Your_Username\AppData\Local\GitHub\PortableGit_ca477551eeb4aea0e4ae9fcd3358bd96720bb5c8\bin\git.exe

EDIT : For latest Github for windows versions some can find the git.exe under "...\cmd\git.exe" rather than "...\bin\git.exe".    // . for my try, is this location not portabelgit\bin\git.exe.


转载于:https://my.oschina.net/aspirs/blog/608581

相关文章:

  • 自建博客随想录
  • JAVA简单介绍1
  • jquery iCheck插件 全选和获取value值的解决方法
  • Cocos2dx3.4 VS2013无法打开包括文件extensions/ExtensionExport.h解决的方法
  • 自定义控件ToggleButton滑动开关
  • 关于初高中虚拟仿真实验室解决方案
  • udp开发-dtd验证,dom解析
  • 不创建第三方变量对整型数组逆置
  • 封装一个地图中间件,愉快的切换百度地图和谷歌地图...
  • ListView的属性详解和探究
  • Javascript模块化编程(三):require.js的用法
  • 《Node.js入门》CentOS 6.5下Node.js Web开发环境搭建笔记
  • Xms Xmx PermSize MaxPermSize 区别
  • ssh 远程登陆 refuse
  • 使用Flexible实现手淘H5页面的终端适配的注意事项
  • [nginx文档翻译系列] 控制nginx
  • [分享]iOS开发-关于在xcode中引用文件夹右边出现问号的解决办法
  • 230. Kth Smallest Element in a BST
  • Android优雅地处理按钮重复点击
  • ES6简单总结(搭配简单的讲解和小案例)
  • javascript从右向左截取指定位数字符的3种方法
  • js算法-归并排序(merge_sort)
  • Leetcode 27 Remove Element
  • LintCode 31. partitionArray 数组划分
  • mysql常用命令汇总
  • nginx 配置多 域名 + 多 https
  • 漂亮刷新控件-iOS
  • 使用Envoy 作Sidecar Proxy的微服务模式-4.Prometheus的指标收集
  • 移动互联网+智能运营体系搭建=你家有金矿啊!
  • 【运维趟坑回忆录 开篇】初入初创, 一脸懵
  • 阿里云服务器如何修改远程端口?
  • 阿里云移动端播放器高级功能介绍
  • 好程序员web前端教程分享CSS不同元素margin的计算 ...
  • (+3)1.3敏捷宣言与敏捷过程的特点
  • (003)SlickEdit Unity的补全
  • (done) ROC曲线 和 AUC值 分别是什么?
  • (阿里云万网)-域名注册购买实名流程
  • (附源码)spring boot网络空间安全实验教学示范中心网站 毕业设计 111454
  • (附源码)springboot学生选课系统 毕业设计 612555
  • (译)2019年前端性能优化清单 — 下篇
  • **Java有哪些悲观锁的实现_乐观锁、悲观锁、Redis分布式锁和Zookeeper分布式锁的实现以及流程原理...
  • .NET I/O 学习笔记:对文件和目录进行解压缩操作
  • .NET Remoting学习笔记(三)信道
  • .NETCORE 开发登录接口MFA谷歌多因子身份验证
  • .NET命名规范和开发约定
  • 。Net下Windows服务程序开发疑惑
  • /usr/bin/perl:bad interpreter:No such file or directory 的解决办法
  • @Autowired @Resource @Qualifier的区别
  • @ConfigurationProperties注解对数据的自动封装
  • @data注解_一枚 架构师 也不会用的Lombok注解,相见恨晚
  • [1]-基于图搜索的路径规划基础
  • [1181]linux两台服务器之间传输文件和文件夹
  • [20161101]rman备份与数据文件变化7.txt
  • [2024] 十大免费电脑数据恢复软件——轻松恢复电脑上已删除文件
  • [AMQP Connection 127.0.0.1:5672] An unexpected connection driver error occured