日期:2014-05-16  浏览次数:20386 次

android adb shell 命令大全

android adb shell 命令大全

1. 显示系统中全部Android平台:

??? android list targets

2. 显示系统中全部AVD(模拟器):

??? android list avd

3. 创建AVD(模拟器):

??? android create avd --name 名称 --target 平台编号

4. 启动模拟器:

??? emulator -avd 名称 -sdcard ~/名称.img (-skin 1280x800)

5. 删除AVD(模拟器):

??? android delete avd --name 名称

6. 创建SDCard

??? mksdcard 1024M ~/名称.img

7. AVD(模拟器)所在位置:

??? Linux(~/.android/avd)????? Windows(C:\Documents and Settings\Administrator\.android\avd)

8. 启动DDMS

??? ddms

9. 显示当前运行的全部模拟器:

??? adb devices

10. 对某一模拟器执行命令: