本文介绍了包装黑莓(WebWorks的)的PhoneGap /科尔多瓦应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的PhoneGap /科尔多瓦,我看到的是建立到模拟器或搭建debuging到设备的唯一选择工作。

I'm working with PhoneGap/Cordova and the only options I see is to build to the emulator or to build for debuging to the device.

我要打包进一步分配和发布应用程序。有什么想法?

I want to package the app for further distribution and publishing. Any thoughts?

谢谢!

推荐答案

首先建立与

ant blackberry build

然后,你需要获得并安装签名密钥:

Then, you need to get and install signing keys:

https://developer.blackberry.com/html5/documentation/signing_setup_smartphone_apps_1920010_11.html

于是最后,一旦你能够code标志,你需要使用bbwp签署和打包由构建生成的压缩文件(压缩是在PhoneGap的文件夹的build目录)。所以,浏览到您的SDK / bin目录并运行:

Then finally, once you are able to code sign you need to use bbwp to sign and package the zip file generated by the build (the zip is in the build directory of the PhoneGap folder). So navigate to your sdk/bin directory and run:

bbwp C:\myapp\HelloWorld.zip -g mypassword -o C:\myapp\signed

在C生成两个文件夹:\\ MyApp的\\签署了包含签名的文件。你需要根据不同的分配方法不同的文件和总结,是在这里:

This generates two folders in C:\myapp\signed which contain the signed files. You will need different files depending on the distribution method and a summary is here:

这篇关于包装黑莓(WebWorks的)的PhoneGap /科尔多瓦应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 16:08