Android adb shell 报错:more than one device and emulator
2016-02-20 19:17
1576 查看
在用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
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
相关文章推荐
- Jmeter之Bean shell使用(二)
- Jmeter之Bean shell使用(一)
- hbase shell 常见命令
- 用shell脚本执行mysql语句
- 如何结束一个python启动的shell子进程(How to terminate a python subprocess launched with shell=True)
- 【6-2】hbase shell
- 总结PHP权威指南 - PHP Shell脚本编程
- 分享一个入门级可控多线程shell脚本代码
- (8) linux shell 命令 -- cp
- 0219自学Linux_bash特性+命令学习(cut,sort,uniq,wc,tr,histroy,alias)+通配符glob
- shell运算符之 关系运算符,算数运算符,布尔运算符,字符串运算符和文件测试运算符
- windows客户端开发--通过ShellExecute函数打开浏览器
- windows客户端开发--通过ShellExecute函数打开浏览器
- (7) linux shell 命令 – mv
- shell脚本自动测试+自动覆盖率统计+自动转PDF+自动发邮件
- GNU Linux shell中如何进行各进制编码间(二进制、8进制、16进制、base64)的转换
- shell脚本教程
- 启动spark-shell提示scala版本不一致的解决
- shell脚本:批量修改文件名(删除文件名中字符)
- shell脚本:批量修改文件名(删除文件名中字符)