输入adb shell 时 提示error: more than one device and emulator
来源:互联网 发布:诸暨行知小学怎么样 编辑:程序博客网 时间:2024/05/21 00:56
第一种情况:
确实使用了多个设备或者模拟器
解决办法:指定连接某一个设备或者模拟器1、获取模拟器/设备列表 【adb devices】
2、指定device来执行adb shell :【adb -s devicename shell】例如:adb -s emulator-5554 shell
注:在多device的时候,执行adb命令一般都需要用参数-s指定device。
例如:卸载emulator-5554上的包com.soft.camera:【adb -s emulator-5554 uninstall com.soft.camera】
第二种情况:
确实有一个设备或者模拟器:
之所以显示有多个是因为此设备用过两次 使用命令 【adb devices】 会看到这个设备有两种状:offline 和 device
解决办法:
一般办法:在命令窗口输入【adb start-server】 重新启动adb.exe服务如果上述方法不可以,终极方法:打开任务栏,选择“进程”选项卡,找到adb.exe进程,结束之,重新启动就完事OK啦(或者在命令窗口输入命令【adb kill-server】 )
阅读全文
0 0
- 输入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
- 输入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
- error: more than one device and emulator-----adb命令
- Adb error: more than one device/emulator
- ADB error: more than one device/emulator
- error: more than one device and emulator
- error: more than one device and emulator .
- error: more than one device and emulator
- poj3233 等比矩阵二分求和
- 辗转相除法求最大公约数
- HNOI2011解题报告
- 实习第五天 工作总结
- c++作业6
- 输入adb shell 时 提示error: more than one device and emulator
- Unity3d
- HNOI2012解题报告
- 大日志文件中如何统计单词个数?及map按value排序lambda表达式版
- HNOI2014解题报告
- PHP日期和时间设置时区
- HNOI2015解题报告
- 51Nod-1574-排列转换
- ubuntu+vim+opencv+cmake环境搭建