更改 Eclipse 中显示的 Android 设备名称
当将多个 Android 设备连接到我的开发计算机时,很快就很难从 Eclipse 中确定哪个设备是哪个设备,因为设备名称似乎表示为其序列号。
例如,设备列表:
有什么方法可以显示手机型号或更改设备名称吗?
When attaching several Android devices to my development machine, it quickly becomes difficult to determine which device is which from Eclipse, because the device names appear to be represented as their serial numbers.
For instance, the Devices list:
Is there any way to display the phone model, or to change the device name?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
从 ADT 修订版 17 开始,设备制造商和名称显示在序列号后面,如下所示:
As of ADT revision 17, the device manufacturer and name appears after the serial number, as follows:
在我的 Desire(cyanogenmod7,Android 2.3.3)上有一个设置:
主屏幕 ->按菜单->系统设置->应用->发展->设备名称
这里我可以更改 eclipse 中显示的设备名称。
不幸的是,我的第二部开发手机(Nexus-S,带有 Android 2.3.4 的 Stock rom)没有此设置 - 所以也许您的手机有此设置...?!
On my Desire (cyanogenmod7, Android 2.3.3) there is a setting:
Homescreen -> press menu -> System settings -> applications -> development -> Device name
Here I can change the devices name which is shown in eclipse.
Unfortunately, my second development phone (Nexus-S, Stock rom with Android 2.3.4) does not have this setting - so maybe your phone has this setting...?!
尝试以下命令:
请记住,大小最多为 15 个字符。
Try these commands:
Bear in mind that the size is maximally 15 characters.