Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I am working on Salesforce Touch; I am new with this platform. I am referring to the Salesforce Touch guide. I am trying to create a native Android project, using this command

ant create_native -Dapp.name={DemoApp} -Dtarget.dir={C:\Anu Raj\project\Salesforce Touch} -Dpackage.name={com.acme.mobileapp}"

but i am getting this error while doing this --- > "

ant : Parameter -command is specified already.
At line:1 char:4
+ ant <<<<  create_native -Dapp.name={DemoApp} -Dtarget.dir={C:\} -Dpackage.nam
e={com.acme.mobileapp}
+ CategoryInfo          : InvalidArgument: (:) [], ParameterBindingExcepti
on
+ FullyQualifiedErrorId : ParameterSpecifiedAlready

can anybody tell me what is the issue for this.

share|improve this question

1 Answer 1

I had the same issue. You have a space in the directory name "Anu Raj"

You should either use a directory name which does not have spaces or use double quotes to make sure that the path is resolved correctly in case it contains spaces.

Hope this helps.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.