对于一台电脑存在多个设备的,之前记录了,但不知道放哪了。因此,重新简单记录一下吧。
主要是记忆力不行,放这里方便自己查找。
正文
# 查看设备adb devices
List of devices attachedUIS787021003B011234 deviceemulator-5554 device
上面展示有两个设备。
此时如果使用
adb shell# 提示如下错误adb.exe: more than one device/emulator
也就是挫折多个设备,需要指定其中一个才可以使用。
我们以UIS787021003B011234为例,如果需要操作
adb -s UIS787021003B011234 rootadb -s UIS787021003B011234 remountadb -s UIS787021003B011234 shell
也就是在我们之前命令基础上,在adb 之后加上 -s 序列号 就可以制定设备。

![[代码片段]ListView+Letter排序代码](https://www.biumall.com/wp-content/themes/BiuX/assets/images/random/0.webp)