设为首页 加入收藏

TOP

Android adb shell 报错:more than one device and emulator
2014-11-24 11:45:19 来源: 作者: 【 】 浏览:0
Tags:Android adb shell 报错 more than one device and emulator

在用adb shell 的时候,提示 more than one device and emulator,怎么解决办呢?


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


】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android 如何用HttpClient 以Post.. 下一篇Android 怎么把异常的StackTrace..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·TCP/UDP协议_百度百科 (2025-12-26 12:20:11)
·什么是TCP和UDP协议 (2025-12-26 12:20:09)
·TCP和UDP详解 (非常 (2025-12-26 12:20:06)
·Python 教程 - W3Sch (2025-12-26 12:00:51)
·Python基础教程,Pyt (2025-12-26 12:00:48)