包装与煎茶CMD一个煎茶触摸应用

问题描述:

我做了我的应用程序,现在我想将它打包所以我转到含包装与煎茶CMD一个煎茶触摸应用

/app 
/app.js 
/app.json 
/resources 
/index.html 
/touch 

我跑sencha app build package,我碰上

我的应用程序目录中的终端
[ERR]  Please ensure this command was executed from a valid application directory 
[ERR]  Unable to locate 'app.dir' config property from sencha.cfg 

我在做什么错?我在应用程序目录中,它包含触摸文件夹中的sdk。

+0

你有没有在.sencha/app目录检查你sencha.cfg文件?它有一个'app.dir'属性吗? – jakerella 2013-03-01 20:20:02

+1

app.dir应该是什么?有没有关于此的文档? – Akshat 2013-03-02 05:49:02

您正在使用哪个版本的Sencha SDK & CMD?最新版本的Cmd不适用于2.1.1之前的SDK版本。

检查了这一点:Sencha Cmd Unable to locate 'app.dir' config property from sencha.cfg

+0

我使用版本3.0.2.288与最新的ST2.1 sdk可用 – Akshat 2013-03-02 12:48:34

+0

我看看你的评论你放进去,但你应该给它作为一个答案,如果它是正确的!老实说,Sencha需要让他们的东西更清楚,我对他们的SDK的经验都是关于让功能实际工作的解决方法 – Akshat 2013-03-02 12:49:46