运行adb 命令提示more than one device/emulator
来源:互联网 发布:弥尔顿 失乐园 知乎 编辑:程序博客网 时间:2024/06/04 00:22
当我连着手机充电的时候,启动模拟器调试,执行ADB指令时,报错。
C:\Users\gaojs>adb shell
error: more than one device and emulator
C:\Users\gaojs>adb install e:\good.apk
error: more than one device and emulator
碰到这种情况,首先要查一下,是不是真的有多个设备或模拟器。
C:\Users\gaojs>adb devices
List of devices attached
emulator-5554 device
4dfadcb86b00cf05 device
发现还真是多个设备,那就需要为ADB命令指定设备的序列号了。
C:\Users\gaojs>adb -s emulator-5554 shell
也就是如上所示,给命令加上-s的参数就可以了!
那就说明是ADB本身的BUG所导致的,就需要用如下的方法处理下了:
C:\Users\gaojs>adb kill-server
C:\Users\gaojs>taskkill /f /im adb.exe
第一条命令是杀ADB的服务,第二条命令是杀ADB的进程!
如果第一条没有用,才考虑用第二条命令再试试看的!
http://blog.csdn.net/gaojinshan/article/details/9455193
0 0
- 运行adb 命令提示more than one device/emulator
- error: more than one device and emulator-----adb命令
- Adb error: more than one device/emulator
- ADB error: more than one device/emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 使用adb install 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- 输入adb shell 时 提示error: more than one device and emulator
- android adb 报错:more than one device or emulator
- adb "more than one device and emulator" 解决方法
- python的operator模块
- OA系统---01
- 央视播高清,研究一下
- pdo 增删改查
- android studio使用adb安装apk出现INSTALL_FAILED_DEXOPT错误
- 运行adb 命令提示more than one device/emulator
- 如何判断EditText是否有焦点
- Java enum关键字用法小结
- CentOS yum
- Linux中如何开启8080端口供外界访问 和开启允许对外访问的端口8000
- android 6.0运行时权限
- 第九章 综合练习 残缺版teacher
- Cannot assign requested address: JVM_Bind
- 一个数如果恰好等于它的因子之和,这个数被成为”完数”,例如:6=1+2+3.请编程找出1000以内的完数