Chinaunix首页 | 论坛 | 博客
  • 博客访问: 514493
  • 博文数量: 257
  • 博客积分: 1666
  • 博客等级: 上尉
  • 技术积分: 1535
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-02 23:02
文章分类

全部博文(257)

文章存档

2013年(2)

2012年(255)

分类: Delphi

2012-07-04 09:14:40

2011-09-12 08:12 (9个月前)

1、获取模拟器/设备列表

 
1 adb devices

2、指定device来执行adb shell

 
1 adb -s devicename shell

例如:

 
1 adb -s emulator-5554 shell

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

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

 

(0) | (0) | (0) |
  • 回答于 2011-09-12 19:51 (9个月前)

    adb kill-server先

    (0) | (0) | (0) |
  • 回答于 2012-02-08 12:37 (4个月前)
    在系统进程中找到原来的摸拟器,Kill该进程。重新运行android程序即可。
    (0) | (0) | (0) |
  • 回答于 2012-03-26 00:01 (3个月前)

    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
    #

  • 阅读(765) | 评论(0) | 转发(0) |
    给主人留下些什么吧!~~