dos下执行 adb shell时报了“more than one device and emulator”。原来酱紫就可以了
1、获取模拟器/设备列表
1 |
adb
devices |
2、指定device来执行adb shell
1 |
adb
-s devicename shell |
例如:
1 |
adb
-s emulator-5554 shell |
在多device的时候,执行adb命令一般都需要用参数-s指定device。例如卸载emulator-5554上的包com.soft.camera
1 |
adb
-s emulator-5554 uninstall com.soft.camera |
然后,就可以正确操作了。。。
1115

被折叠的 条评论
为什么被折叠?



