首页 新闻 论坛 群组 Blog 文档 下载 读书 Tag 网摘 搜索 .NET Java 游戏 视频 人才 外包 第二书店 程序员
您的位置:Mobile->Symbian SDK之间的切换

Symbian SDK之间的切换2008-05-08 来自:lizhe1985  [收藏到我的网摘]

来源:开发视界

在一台机器上可以安装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

推荐人评论

在一台机器上可以安装Symbian的多个SDK,在多个SDK共存在情况下,要使用不同的SDK环境编译应用程序,可以通过devices命令寻求帮助。

用户评论

正在载入评论列表...

是谁推荐了此篇文章

专家头像李哲
个人blog发送信息
李哲推荐的其他文章

赞助商精华文章

热点新闻

热点评论

    精彩视频

    精彩专题

      网站简介广告服务网站地图帮助联系方式诚聘英才English问题报告
    北京世纪乐知码科技有限公司  版权所有  京 ICP 证 020026 号
    Copyright © 2000-2006, CSDN.NET, All Rights Reserved