android: Cannot run program CreateProcess error=5, Access is denied
android, eclipse, git
Solution
I found that the path in Android Studio (File-Settings-Version Control->Git->Path to Git) requires not just the path where Git.exe is, but also needs to include the file name git.exe at the end of the path. When I included that this error goes. Hope this helps. You can test it with the Test button next to the path and browse buttons.
Problem
I keep on getting the following error message from eclipse when I try to push my android code to my remote Git repository in Bitbucket. ``` Cannot run program "C:\Users\John\.ssh": CreateProcess error=5, Access is denied ``` I have already performed a successful push once to the remote repository of my entire android project via: ``` ssh://git@bitbucket.org/myname/myproject.git ``` I have also exchanged public keys between the android and the Bitbucket account. Both eclipse id_rsa public and private keys are stored under my C:/Users/John/.ssh folder I have also set the environmental variable GIT_SSH=C:/Users/John/.ssh Now every time I try to push to the remote repository eclipse complains with this error. My eclipse is Android Developer Tools running on Windows 8.1. I appreciate any support from the community.