I have looked at the other posts and have made certain that the path is correct to the executable file, as shown below. I can launch git from from this path outside of Android Studio. The current project is the "sunshine-version 2" from Udacity and it is a version or two old, but this should not affect the VCS from launching. I have read the other posts concerning this issue, but none have resolved this issue. Also, when Android Studio gradle runs, it will open git in several windows and then close them almost immediately. They pop-up for a second or two, and then close. It's definitely trying to run git, and then default closes?
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
Subsequently, instead of choosing git-gui.exe option, I select just git.exe option. And it seems to work for me.
default path of git.exe for GitHubDesktop 64-bit version is
c:\Users\AppData\Local\GitHubDesktop\app-<version>\resources\app\git\cmd\git.exe
you should try this path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With