`
jandroid
  • 浏览: 1894175 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Android adb shell 报错:more than one device and emulator

 
阅读更多

在用adb shell 的时候,提示more than one device and emulator,怎么解决办呢?

1、获取模拟器/设备列表

adb devices

2、指定device来执行adb shell

adb -s devicename shell

例如:adb -semulator-5554 shell

在多device的时候,执行adb命令一般都需要用参数-s指定device。例如卸载emulator-5554上的包com.soft.camera

adb -semulator-5554 uninstall com.soft.camera





分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics