包装与煎茶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。
答
您正在使用哪个版本的Sencha SDK & CMD?最新版本的Cmd不适用于2.1.1之前的SDK版本。
检查了这一点:Sencha Cmd Unable to locate 'app.dir' config property from sencha.cfg
你有没有在.sencha/app目录检查你sencha.cfg文件?它有一个'app.dir'属性吗? – jakerella 2013-03-01 20:20:02
app.dir应该是什么?有没有关于此的文档? – Akshat 2013-03-02 05:49:02