如何更改设备名称? (ADB设备) [英] How can I change the device name? (adb devices)
本文介绍了如何更改设备名称? (ADB设备)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,
我想改变,可当我输入'ADB设备在命令提示符下可以看到的设备ID字符串。 如果键入亚行设备的在命令prompot话,我可以看到下面味精,
I'd like to change the device ID string which can be seen when I type 'adb devices' at command prompt. If I type 'adb devices' at command prompot then I can see below msg,
D:\>adb devices
List of devices attached
5A3C000600000001 device
有没有谁知道怎么的设备ID(5A3C000600000001)字符串产生的? 我怎样才能改变设备ID字符串?
Is there anyone who knows how the device ID(5A3C000600000001) string generated? And how can I change the device ID string?
推荐答案
如果你有root权限,就可以进入这一个终端仿真器:
If you have root access, you can enter this to a terminal emulator:
> su (to gain superuser access)
> getprop net.hostname (this should display the current network name)
> setprop net.hostname <newhostname>
断开连接,然后从网络上刷新重新连接。
Disconnect then reconnect from the network to refresh.
我是在ICS三星Galaxy Note的。工作就像一个魅力...
I was on a Samsung Galaxy Note on ICS. Worked like a charm...
这篇关于如何更改设备名称? (ADB设备)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文