I downloaded Github for windows and installed it on my computer, which runs windows 7. I tried to open a project with Android Studio but it says 'Can't start Git: git.exe' and 'IDE error'.
![Android Android](/uploads/1/2/5/3/125377685/871897934.png)
GIT offers two types of accounts; one is private and other is public. The public account is free of cost and the private account has some charges. You can download the GIT from this URL. Step 2: Now open the Android studio and go the configure button and press it. Step 3: Then after clicking the. 将android studio 本地的项目上传到git上,VCS–Import into Version Control–Share project on GitHub,提示标题的错。 本地GitHub客户端已经安装好了,此时找到git.exe的安装路径,C: Users lsk AppData Local GitHub PortableGit_c2ba306e536fdf878271f7fe63.
When I click 'Fix it' it shows: 'Cannot run program 'git.exe': CreateProcess error=2, The system cannot find the file specified'. So I googled and I tried to find git.exe file in my Github folder. In my Github folder there is two folders: one is a project shared by my friend and the other one is 'Git1'. In Git1 foler, there are only two files: '.gitattributes' and '.gitignore' I can't find 'git.exe' file even with the search bar of windows.
How can I fix this error? The git.exe from Github for windows is located in a path like C: Users AppData Local GitHub PortableGit bin git.exe You have to replace and to the actual situation on your system.
In Android Studio you can specify the path to the Git executable at File-Settings.-Version Control-Git-Path to Git executable. Here you have to include the actual executable name. As an example, in my case the actual path is: C: Users dennis AppData Local GitHub PortableGit69703d1db91577f4c666e767a6ca5ec50a48d243 bin git.exe Edit: Last git update has put the git.exe file in cmd folder instead of bin.
So now the actual path will be as suggested in the comment below by al3xAndr3w. C: Users AppData Local GitHub PortableGit cmd git.exe. The last update for 'windows git' did move the git.exe file from the /bin folder to the /cmd folder. So, to use git with IDEs such as webStorm or Android Studio you can use the path: C: Users AppData Local GitHub PortableGit cmd git.exe But if you want to have linux-like commands such as git, ssh, ls, cp under windows powerShell or cmd add to your windows PATH variables: C: Users AppData Local GitHub PortableGit usr bin change and to your values and reboot! Also, you will have to update this everytime git updates since it might change the portable folder name.
If folder structure changes I will update this post. Thx @dennisschagt for the comment above!;).