使用sencha cmd打包sencha touch应用程序

时间:2013-03-01 19:51:30

标签: sencha-touch-2 sencha-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。

1 个答案:

答案 0 :(得分:5)

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

检查出来:Sencha Cmd Unable to locate 'app.dir' config property from sencha.cfg