Android Studio “Error Running Git” , ‘Empty git –version output:’

I just went to the Git path ubication, the only different thing that I did was have stopped at the cmd folder. As you might see in the next screenshot

enter image description here

Subsequently, instead of choosing git-gui.exe option, I select just git.exe option. And it seems to work for me.

enter image description here

default path of git.exe for GitHubDesktop 64-bit version is

c:UsersAppDataLocalGitHubDesktopapp-<version>resourcesappgitcmdgit.exe

you should try this path.

in windows 10, 64bit version your installed git location is C:Program FilesGit, There is a bin folder inside Git folder and there is a git.exe file, this is the file you have to choose or add in android studio.Works for me.

Leave a Comment