On Unix (Mac OS X or Linux): sh CreateSampleApp.sh -d ~/Path/Where/The/App/Should/Be/Created -ios true -android true
On Microsoft Windows: CreateSampleApp.cmd -d %CD%/Path/Where/The/App/Should/Be/Created -android true
Kind Regards,
R
Roland Hufnagel
said
about 8 years ago
Your screenshot refers to Windows, but you call CreateSampleApp.sh instead of CreateSampleApp.cmd.
Make sure to have cordova installed and have the "cordova" command on your path.
E
Emil Celes
said
about 8 years ago
Hi,
I have installed Cordova, the latest version and it's working very well. I made many applications before with camera and I didn't have any problem with it.
In my windows I can process files .sh very well the problem is as how it's in the screen print that it doesn't find WikitudePhoneGapSampleGenerator.sh . and CreateSampleApp.cmd I tried running it but it gives a greater error and doesn't run directly http://prntscr.com/8m51gu
In the line 45 of CreateSampleApp.cmd there is a line where it calls sh and that is the error if I use it. http://prntscr.com/8m527d
Thanks.
Kind Regards,
R
Roland Hufnagel
said
about 8 years ago
Obviously the commands "cordova" and "sh" do not work in your Windows Command shell. So try to add the phonegap binary directory to the PATH environment variable.
Emil Celes