gpt4 book ai didi

blackberry-playbook - 为 Playbook 打包和签署 BlackBerry WebWorks SDK 应用程序时出错

转载 作者:行者123 更新时间:2023-12-04 08:11:17 28 4
gpt4 key购买 nike

我一直在尝试按照 BlackBerry 文档在命令行上签署 WebWorks SDK 应用程序并上传到 App World。

这是一个chart showing the high level picture , 这里是 the detailed instructions我正在努力跟随。

我成功地运行了前几个步骤:

C:\MyDir>blackberry-signer -csksetup -cskpass <mypwd>
CSK file created.

C:\MyDir>blackberry-signer -register -csjpin <mypin> -cskpass <mypwd> client-RDK-<snip>.csj
Successfully registered with server.

C:\MyDir>blackberry-keytool -genkeypair -keystore sigtool.p12 -storepass <mypwd> -dname "cn=<My Company>" -alias author
<No output!>

说明现在说我需要打包我的 BAR 文件。它链接到 another web page说要运行这样的命令:

blackberry-airpackager -package output_filename project_name-app.xml project_name.swf any_other_project_files

虽然这听起来像是它适用于 AIR 应用程序而不是 WebWorks SDK,但我还是尝试了一下,但我收到了一个错误:

C:\MyDir>blackberry-airpackager -package output\MyApp.bar config.xml input
C:\MyDir\config.xml: error 102: Invalid namespace http://www.w3.org/ns/widgets
Error: AIR validation failed

然后我查看 blackberry-packagerblackberry-nativepackager 命令是否正确。运行 blackberry-nativepackager 会产生这个错误 Error: not qnx tag or two many,并且 blackberry-packager 的用法似乎不合适,例如

Usage:
blackberry-packager -generatemanifest [<manifest-file>]
blackberry-packager -verifymanifest <manifest-file>
blackberry-packager -metafolder <META-INF folder> [-javafolder <java-folder>] [-datafolder <data-folder>] [-nativefolder <native-folder>] [-airfolder <air-folder>] [-nocompression] <barfile.bar> (<inputfile>)*

所以,我现在恢复到我最初在测试期间所做的打包,即我创建一个 ZIP 文件并使用 bbwp.exe:

C:\MyDir>bbwp.exe "MyApp.zip" -o "output"
[INFO] Parsing command line options
<snip>
[INFO] Packaging the bar file
[INFO] Bar packaging complete
[INFO] WebWorks application packaging complete

这看起来不错,所以我进入最后两个步骤,它们是:

blackberry-signer -verbose -cskpass <mypwd> -keystore sigtool.p12 -storepass <mypwd> output\MyApp.bar RDK
blackberry-signer -keystore sigtool.p12 -storepass <mypwd> output\MyApp.bar author

不幸的是,这些步骤中的第一步失败了:

C:\MyDir>blackberry-signer -verbose -cskpass <mypwd> -keystore sigtool.p12 -storepass <mypwd> output\MyApp.bar RDK
<snip>
42 43 65 30 58 31 19 36 79 22 50 64 71 12 38 4e
74 68 78 34
Connecting to url http://www.rim.net/Websigner/servlet/RDK-Waterloo
Sending properties to server...
Properties of response := [
Version = 1
Response = Signature Response
Confirm = null
Error = Code signing request failed because Application-Development-Mode in Manifest is present and is not set to [false].
]
barsigner error: server error: Code signing request failed because Application-Development-Mode in Manifest is present and is not set to [false].

记录了确切的错误 here ,以及对此的解释:

Code signing request failed because Application-Development-Mode in Manifest is present and is not set to false
Description
This message appears when you try to sign a .bar file that was packaged in Development mode. Possible solution
Repackage the .bar file. If you use blackberry-packager, or another command line tool, do not include the debug option in your command line.

不幸的是,这对我一点帮助都没有。我的理解是 WebWorks SDK 中的 config.xml 文件取代了对 MANIFEST.MF 文件的需要。

谁能帮我解决这个问题?

最佳答案

你可以尝试在 BlackBerry Web Development 支持论坛发帖,该论坛有 RIM 工作人员监控: http://supportforums.blackberry.com/t5/Web-Development/bd-p/browser_dev

关于blackberry-playbook - 为 Playbook 打包和签署 BlackBerry WebWorks SDK 应用程序时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5427942/

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