Android(安卓)adb shell 报错:more than one device and emulator
16lz
2021-01-24
http://www.oschina.net/question/163910_27505
获取模拟器/设备列表
1
adb devices
2、指定device来执行adb shell
adb -s devicename shell
例如:
C:\Documents and Settings\Administrator>adb devices List of devices attached emulator-5554 device ACE87B65E765 device
C:\Documents and Settings\Administrator>adb -s emulator-5554 shell #
在多device的时候,执行adb命令一般都需要用参数-s指定device。例如卸载emulator-5554上的包com.soft.camera
adb -s emulator-5554 uninstall com.soft.camera
更多相关文章
- android studio 下载与安装
- 开发人员注意——Android(安卓)5.0 API有哪些变化
- Android错误解决
- Android(安卓)AVD之Socket Connect Time Out
- android 应用的相关权限
- Android学习笔记(3)——Android(安卓)Demo演示