Thi*_*oyd 6 extjs sencha-touch sencha-touch-2 cordova sencha-touch-2.1
我使用Sencha touch 2.1.0构建了一个sencha touch应用程序,现在我正在尝试使用此处提供的说明构建它:http://cclerville.blogspot.in/2013/01/sencha-touch-21-phonegap-220- android_3.html
但是这个错误消息的构建失败了,有人可以帮助我吗?
$ sencha app build package && build/myshop/android/cordova/build
Sencha Cmd v3.0.2.288
[ERR] Please ensure this command was executed from a valid application directory
[ERR] Unable to locate 'app.dir' config property from sencha.cfg
Run Code Online (Sandbox Code Playgroud)
我的sencha Cmd目录中的sencha.cfg包含以下条目:
framework.name=touch
framework.version=2.1.0.447
framework.classpath=${framework.dir}/src
# This is the minimum required Sencha Cmd version:
framework.cmd.minver=3.0.0.141
# This is the current version of the Sencha Cmd at the time of this SDK release:
framework.cmd.version=3.0.0.250
Run Code Online (Sandbox Code Playgroud)
等待答案已经很长时间了,所以对我来说似乎是不兼容问题,因为我使用 sencha-touch 2.1.0 生成了应用程序,并且它的 sencha.cfg 位于 /touch/cmd/sencha.cfg 而不是 /.sencha/app/ 2.1.1 应用程序中的 sencha.cfg 及其内容与 2.1.1 文件完全不同,没有任何对 ${app.dir} 的引用,因此 Sencha Cmd 无法使用它。知道如何构建 2.1.0 应用程序吗?我知道的一种方法是获取旧版本的 sencha Cmd。
| 归档时间: |
|
| 查看次数: |
9705 次 |
| 最近记录: |