http://www.oschina.net/question/163910_27505

获取模拟器/设备列表

1

adb devices

2、指定device来执行adb shell

adb -s devicename shell

例如:

C:\Documents and Settings\Administrator>adb devices List of devices attached emulator-5554   device ACE87B65E765    device 
C:\Documents and Settings\Administrator>adb -s emulator-5554 shell # 

在多device的时候,执行adb命令一般都需要用参数-s指定device。例如卸载emulator-5554上的包com.soft.camera

adb -s emulator-5554 uninstall com.soft.camera

更多相关文章

  1. android studio 下载与安装
  2. 开发人员注意——Android(安卓)5.0 API有哪些变化
  3. Android错误解决
  4. Android(安卓)AVD之Socket Connect Time Out
  5. android 应用的相关权限
  6. Android学习笔记(3)——Android(安卓)Demo演示

随机推荐

  1. android中获取SHA1的代码
  2. android休眠运行
  3. 开机不锁屏
  4. Android(安卓)日常报错之 Android(安卓)d
  5. Android动态加载及hook资料汇总
  6. Android圆环形自定义进度条控件的绘制
  7. Android软键盘弹出不影响布局的方法
  8. android 判断service是否开启
  9. android查看每个app的内存占用情况
  10. Android(安卓)Studio V0.2.x For Windows