`
weimou66
  • 浏览: 1245243 次
文章分类
社区版块
存档分类
最新评论

安装 PlayBook NDK 2.0 on Ubuntu 11.10

 
阅读更多

第一步,环境准备:

安装:Ubuntu 11.10

安装:如果没有安装 gcc,可以安装g++,里面有gcc, make等

$ sudo apt-get install g++


第二步,

下载PlayBook NDKfor Linux


第三步,

安装很简单了

$ ./installer-bbndk-2.0.0-linux-7971-201202171813-201202181253.bin

Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

strings: '/lib/libc.so.6': No such file

这一行error message不用管,参见NDK release notes


Launching installer...


第四步,

启动NDK

cd bbndk-2.0.0

./bbndk.sh


注意:

使用HOME目录下面的应用link BlackBerry Native SDK for Tablet OS 2.0.0 启动NDK会报错。原因不明。


第五步,

在线申请PlayBook tablet sign key,大概一个小时左右,获得两个包含CSJ签名密钥的邮件

Use the BlackBerry Code Signing Support site to get help installing your code signing keys or signing your applications:https://bdsc<wbr>.webapps.bla<wbr>ckberry.com/<wbr>CodeSigningH<wbr>elp/</wbr></wbr></wbr></wbr>
Note that you are only able to register the attached CSJ file once.

Use the following procedure to back up and/or transfer your code signing keys to multiple PCs after you have installed the CSJ file.
Backup and Restore BlackBerry Code Signing Keys
http://suppo<wbr>rtforums.bla<wbr>ckberry.com/<wbr>t5/Testing-a<wbr>nd-Deploymen<wbr>t/Backup-and<wbr>-Restore-Bla<wbr>ckBerry-Code<wbr>-Signing-Key<wbr>s/ta-p/83792<wbr>5</wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr></wbr>

第六步,

启动NDK开发工具,使用向导,导入两个CSJ

导入成功后,备份key目录Backup and Restore BlackBerry Code Signing Keys


第七步,

下载PlayBook 模拟器,安装(解压缩出来一个vmware虚拟机)

启动PlayBook模拟器,查看它的IP地址(如何查看PlayBook的IP地址),缺省它已经处于development mode,口令为playbook



或者是,准备一台PlayBook真机,通过WiFi在线升级到 PlayBook OS 2.0,查看它的IP地址,设置development mode,设置口令


第八步,

启动NDK开发工具,向导生成一个application

Build Project

Run Configuration


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics