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: ./install.sh' 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.
2 Answers
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
([http://wiki.developerforce.com/page/Developing_Hybrid_Apps_with_the_Salesforce_Mobile_SDK])1
says to:
Clone the SalesforceMobileSDK-Android project from GitHub:
git clone https://github.com/forcedotcom/SalesforceMobileSDK-Android.git
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!
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.
git
installation - an error like that strikes me as unrelated to the SDK code but more your development environment. Did you usegit clone
to get a copy of the code locally?git --version
from a command prompt?