安装 PlayBook NDK 2.0 on Ubuntu 11.10

第一步,环境准备:

安装:Ubuntu 11.10

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

$ sudo apt-get install g++


第二步,

下载PlayBook NDK for 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.webapps.blackberry.com/CodeSigningHelp/
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://supportforums.blackberry.com/t5/Testing-and-Deployment/Backup-and-Restore-BlackBerry-Code-Signing-Keys/ta-p/837925 

第六步,

启动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


你可能感兴趣的:(vmware,ubuntu,开发工具,BlackBerry,resources,installer)