Welcome 微信登录

首页 / 操作系统 / Linux / Android adb shell 报错:more than one device and emulator

在用adb shell 的时候,提示 more than one device and emulator,怎么解决办呢?1、获取模拟器/设备列表adb devices2、指定device来执行adb shelladb -s devicename shell例如:adb -s emulator-5554 shell在多device的时候,执行adb命令一般都需要用参数-s指定device。例如卸载emulator-5554上的包com.soft.cameraadb -s emulator-5554 uninstall com.soft.camera