Start a new topic

Samples Wikitude Phonegap Apps Error

Samples Wikitude Phonegap Apps Error


Hi, 

I'm having this error with the setup instructions.

Does someone have an idea what is this error? http://prntscr.com/8ly17o 

https://github.com/Wikitude/wikitude-cordova-plugin-samples#documentation--samples

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,

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. 

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,

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.
Login or Signup to post a comment