First of all make sure you have downloaded and istalled proper Sencha Touch 2 archive you can download from:
http://www.sencha.com/products/touch/download/
Ensure you have also installed the Sencha CMD you can download at:
http://www.sencha.com/products/sencha-cmd/download
Install the CMD archive downloaded and copy the Sencha Touch 2 archive to your htdocs folder of your AMP installation.
Enter the sencha directory in your htdocs folder and create your first app with the command:
1 |
Sencha generate app yourApp ../folderApps/yourApp |
to build your app you can enter the yourApp folder and type the following command:
1 2 |
cd ../folderApps/yourApp sencha app build package |
You can also launch your new App directly in the simulator with the following command:
1 |
sencha app build -run native |





