gpt4 book ai didi

cordova - Phonegap 黑莓未知选项 buildConfig?

转载 作者:行者123 更新时间:2023-12-02 17:31:10 26 4
gpt4 key购买 nike

好的。这听起来好像我太沮丧了,因为我确实如此。我正在尝试构建一个 Blackberry 应用程序,以便为我工作的人发布。在添加构建配置并添加 keystore 后,我构建了 Android 系统。但是,好吧,即使我只运行 phonegap build blackberry 10,我也会得到以下信息:

Javy@MacBookJ [/clientProject]$ phonegap build blackberry10
[phonegap] executing 'cordova build blackberry10'...
Running command: /clientProject/platforms/blackberry10/cordova/build --buildConfig=/clientProject/build.json



error: unknown option `--buildConfig=/clientProject/build.json'



ERROR building one of the platforms: Error: /clientProject/platforms/blackberry10/cordova/build: Command failed with exit code 1
You may not have the required environment or OS to build this project

Error: /clientProject/platforms/blackberry10/cordova/build: Command failed with exit code 1
at ChildProcess.whenDone (/usr/local/lib/node_modules/phonegap/node_modules/cordova-lib/src/cordova/superspawn.js:139:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:817:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

Javy@MacBookJ [/clientProject]$

我的大问题是我什至没有添加 buildConfig 参数,而 Phonegap 只是自行完成所有操作,就像它在这个地方运行一样!

帮助???

最佳答案

对我来说,删除 my build.json(我曾用于 android 构建)然后运行“cordova build blackberry10”命令解决了问题。

关于cordova - Phonegap 黑莓未知选项 buildConfig?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33113137/

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