I am new in sencha and this my first App. I tried to create an App in sencha touch through following command
sencha -sdk /home/tanmay/amit_mob/adt-bundle-linux-x86-20140702/sdk generate app MyApp /home/tanmay/amit_mob/myapp
But I get an error
[ERR] Unable to locate supported Framework.
Please ensure this command was executed from a supported framework
directory or that a framework directory was specified via the -sdk switch.
For example:
sencha -sdk /path/to/framework-dir generate app AppName path/to/app
[ERR] com.sencha.exceptions.ExState: Not a framework directory : /home/tanmay/amit_mob/sdk/tools
at com.sencha.cli.AbstractCommand$Property.set(AbstractCommand.java:406)
at com.sencha.cli.AbstractCommand.processConfigParam(AbstractCommand.java:527)
at com.sencha.cli.AbstractCommand.configure(AbstractCommand.java:114)
at com.sencha.command.Sencha.main(Sencha.java:128)
Caused by: Not a framework directory : /home/tanmay/amit_mob/sdk/tools
at com.sencha.command.Sencha.setSdkPath(Sencha.java:361)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sencha.cli.AbstractCommand$Property.set(AbstractCommand.java:394)
at com.sencha.cli.AbstractCommand.processConfigParam(AbstractCommand.java:527)
at com.sencha.cli.AbstractCommand.configure(AbstractCommand.java:114)
at com.sencha.command.Sencha.main(Sencha.java:128)
Please help me.
I forget to download sencha touch.If you face this problem then download sencha touch from http://www.sencha.com/products/touch/download/
and extract in any folder.
and run above command.Change your directory please...