Find your content:

Search form

You are here

Make sure the 'git' executable is on your PATH variable


Hi am working on salesforce touch. I am trying to Install the Mobile SDK for Android but while doing it in the step 3. their is 'Open a command prompt in the directory where you installed the cloned repository, and run the install script from the command line: ./' while doing this process i am getting error "There was an error getting the status of the git repository:"Make sure the 'git' executable is on your PATH variable" can anybody help me to solve this issue.

Attribution to: AnuRaj

Possible Suggestion/Solution #1

The question is long long time ago..But I'm posting this answer since I have faced the same issue and was able to resolve the issue.

After installing GIT, simply set the PATH* in your environment variables. This link will help you. Open new Command prompt and retry.

Attribution to: highfive

Possible Suggestion/Solution #2

I know it's been awhile since you posted the question, but I ran into the exact problem you encountered today: I'm trying to install the Salesforce Mobile SDK kit for Android on Windows 7. The guide


says to:

Clone the SalesforceMobileSDK-Android project from GitHub:

git clone

And you have to do this in Powershell (not cmd).

Then it says:

Windows ------- Run the install script from the Windows command line:

cd SalesforceMobileSDK-Android
cscript install.vbs

So I go to cmd, fumble around for a bit finding my GitHub\SalesforceMobileSDK-Android directory. When I try to cscript install.vbs, it says:

There was an error getting the status of the git repository: '' Make sure the 'git' executable is on your PATH variable.

So I go to change my PATH variable, but I can't find anything like *--something--*\Git\bin to point to. Then I realized, it's trying to use the git executable.

The solution is to do everything in Powershell. That is, in Powershell:

Go to your directory and

cscript install.vbs

and volia!

Attribution to: Scott Pelak
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content