问题
Android adb命令时出现 more than one device and emulator 错误的解决方法?
解答
我们在使用adb shell 等相关命令时,会报 more than one device and emulator 错误,这个问题一般是 有多设备或模拟器被连接造成的。
我们可以用如下命令来选择其中的设备或模拟器
adb devices
emulator-5554
127.0.0.1:6666
然后指定设备或模拟器使用命令
adb -s emulator-5554 shell