Cherven
Cherven

Reputation: 1131

Cannot create new app in Sencha Touch 2.1.1

So I decided to play with Sencha.

when I run app create command I have this:

D:\DevProjects\sencha-touch-2.1.1-commercial>sencha app create MyApp /my/t1
ERROR: Failed to exec (java -Xms128m -Xmx1024m -Djava.awt.headless=true -jar C:\Users\Cherven\bin\Sencha\Cmd\3.1.0.256\sencha.jar  app create M
yApp /my/t1) - The system cannot find the file specified. (2)

What can I do?

Upvotes: 0

Views: 260

Answers (1)

Eli
Eli

Reputation: 14827

Seem like you're missing something. Please follow the official guide.

So basically, you need to have other 3 things besides Sencha SDK that I'm assume you've already downloaded correctly which are: JRE, Sencha CMD and Compass.

Finally, you need to use generate instead of create to generete new app using Sencha Cmd:

sencha generate app MyApp /path/to/MyApp

Upvotes: 1

Related Questions