install sencha-touch 2.1 on mac

前端 未结 2 566
一向
一向 2021-01-17 05:00

I need to install sencha touch 2.1 on my mac but I can\'t…

i follow this guide

 http://www.sencha.com/learn/getting-started-with-sencha-touch-2


        
相关标签:
2条回答
  • 2021-01-17 05:36

    The Sencha Touch Sdk contains only the classes which contains the framework, plus examples and docs. If you want to generate an app, compile it, etc. using the Sencha command from a terminal, you need to install the Sencha Cmd then. That's a different product.

    You can read more at the following guide: http://docs.sencha.com/touch/2-1/#!/guide/command

    And download the latest version from here: http://www.sencha.com/products/sencha-cmd/download

    0 讨论(0)
  • 2021-01-17 05:43

    Download and install Sencha Cmd : http://www.sencha.com/products/sencha-cmd/download

    Then ensure that the path for Sencha Cmd is in your .bash_profile:

    export PATH=/path/to/Sencha/cmd/3.0.0.250:$PATH(it will be located in you your 'bin' directory)

    Save your .bash_profile and restart Terminal.

    Edit: You can also try adding the path to your .bashrc as well. Then restart your terminal and try running sencha again.

    Lastly to verify that Sencha Cmd is in your path do echo $PATH.

    0 讨论(0)
提交回复
热议问题