gpt4 book ai didi

cordova - Sencha Cmd 无法从 sencha.cfg 中找到 'app.dir' 配置属性

转载 作者:行者123 更新时间:2023-12-04 15:35:12 26 4
gpt4 key购买 nike

我已经使用 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

我的 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

最佳答案

等待答案已经很长时间了,所以对我来说似乎是不兼容问题,因为我使用 sencha-touch 2.1.0 生成了该应用程序,并且它在/touch/cmd/sencha.cfg 中有 sencha.cfg 而不是/.sencha/app/2.1.1 应用程序中的 sencha.cfg 及其内容与 2.1.1 文件完全不同,没有任何引用 ${app.dir} ,因此 Sencha Cmd 无法使用它。知道如何构建 2.1.0 应用程序吗?我知道的一种方法是获取旧版本的 sencha Cmd。

关于cordova - Sencha Cmd 无法从 sencha.cfg 中找到 'app.dir' 配置属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14749050/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com