Symbian SDK之间的切换

在一台机器上可以安装Symbian的多个SDK,在多个SDK共存在情况下,要使用不同的SDK环境编译应用程序,可以通过devices命令寻求帮助。
查看当前可用的Symbian设备,使用devices命令:
C:/Documents and Settings/shiyigang>devices
-------------------------------------------------------------------------------------------
S60_2nd_FP2_SC:com.nokia.Series60
S60_3rd_FP2_Beta:com.nokia.s60 - default
其中标记为- default者为当前默认的设备,因此,本机当前使用的设备是s60第三版。在此状态下,如果在命令行下编译Symbian程序,则默认使用s60 3rd的编译环境。如果要编译s60 2nd的程序,则必须更改默认设备。

更改默认设备,
C:/Documents and Settings/shiyigang>devices -setdefault @s60_2nd_fp2_sc:com.nokia.series60
要注意的是,以上命令中,设备名前面的@符号一定不能省略,否则该命令不能成功执行。
-------------------------------------------------------------------------------------------

devices命令还有一些其他用法,可以通过-help选项进行查看:
C:/Documents and Settings/shiyigang>devices -help
-------------------------------------------------------------------------------------------
Syntax: devices -info @deviceID         Displays detailed device information
devices -default        Displays the default device information
devices -setdefault @deviceID   Sets the default device
devices -setalias new_alias @deviceID   Sets the alias for a device
devices -add device_path tools_path @deviceID
devices -remove @deviceID
devices -help   Displays this help
  where deviceID is a device identifier (of the form 'kit:name') or
  device alias, preceded by '@'
  new_alias is a new device alias
  device_path is the location of the main epoc32 directory
  tools_path is the location of the epoc32/tools directory
Note: When using -setalias or -add, the device may not be referred to by
an alias.

With no arguments or switches, devices lists all device names and aliases

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值