消除ADB错误“more than one device and emulator”的方法
来源:互联网 发布:网络机顶盒软件下载市场 编辑:程序博客网 时间:2024/05/21 07:59
当我连着手机充电的时候,启动模拟器调试,执行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的进程!
如果第一条没有用,才考虑用第二条命令再试试看的!
0 0
- 消除ADB错误“more than one device and emulator”的方法
- 消除ADB错误“more than one device and emulator”的方法
- 消除ADB错误“more than one device and emulator”的方法
- 消除ADB错误“more than one device and emulator”的方法
- more than one device and emulator错误
- error: more than one device and emulator-----adb命令
- adb "more than one device and emulator" 解决方法
- Android adb 命令(附带"more than one device and emulator"错误)
- Adb error: more than one device/emulator
- ADB error: more than one device/emulator
- more than one device and emulator
- more than one device and emulator
- more than one device and emulator
- error: more than one device and emulator
- error: more than one device and emulator .
- error: more than one device and emulator
- error: more than one device and emulator
- error: more than one device and emulator .
- 【网络安全】SSLSplit实现中间人攻击
- 精通安卓性能优化-第二章(二)
- 递归方法的使用(文件处理)
- MySQL允许远程登录配置
- jdk 签名
- 消除ADB错误“more than one device and emulator”的方法
- 作为一种资源,租用大量计算能力来更快地完成工作,也许是一种更为合适的方案。
- 查看网络负载
- GNU内嵌汇编资料 .
- Java环境变量配置详解
- redis FLUSHALL方法
- 网络编程简单模型
- interView - Activity启动过程
- Spring Assert断言 (方法入参检测工具类-断言)