Usage:
android [global options] action [action options]

Global options:
-v --verbose Verbose mode: errors, warnings and informational messages ar
inted.
-h --help This help.
-s --silent Silent mode: only errors are printed out.

Valid actions are composed of a verb and an optional direct object:
- list : Lists existing targets or virtual devices.
- list avd : Lists existing Android Virtual Devices.
- list target : Lists existing targets.
- create avd : Creates a new Android Virtual Device.
- move avd : Moves or renames an Android Virtual Device.
- delete avd : Deletes an Android Virtual Device.
- update avd : Updates an Android Virtual Device to match the folders of
w SDK.
- create project: Creates a new Android Project.
- update project: Updates an Android Project (must have an AndroidManifest.x

- update adb : Updates adb to support the USB devices declared in the SDK
-ons.

Action "list ":
Lists existing targets or virtual devices.
Options:
No options

Action "list avd":
Lists existing Android Virtual Devices.
Options:
No options

Action "list target":
Lists existing targets.
Options:
No options

Action "create avd":
Creates a new Android Virtual Device.
Options:
-c --sdcard Path to a shared SD card image, or size of a new sdcard for
new AVD
-s --skin Skin of the new AVD
-p --path Location path of the directory where the new AVD will be cre

-n --name Name of the new AVD [required]
-t --target Target id of the new AVD [required]
-f --force Force creation (override an existing AVD)

Action "move avd":
Moves or renames an Android Virtual Device.
Options:
-n --name Name of the AVD to move or rename [required]
-p --path New location path of the directory where to move the AVD
-r --rename New name of the AVD to rename

Action "delete avd":
Deletes an Android Virtual Device.
Options:
-n --name Name of the AVD to delete [required]

Action "update avd":
Updates an Android Virtual Device to match the folders of a new SDK.
Options:
-n --name Name of the AVD to update [required]

Action "create project":
Creates a new Android Project.
Options:
-t --target Target id of the new project [required]
-n --name Project name
-p --path Location path of new project [required]
-a --activity Activity name [required]
-k --package Package name [required]

Action "update project":
Updates an Android Project (must have an AndroidManifest.xml).
Options:
-n --name Project name
-t --target Target id to set for the project [required]
-p --path Location path of the project [required]

Action "update adb":
Updates adb to support the USB devices declared in the SDK add-ons.
Options:
No options

入门demo请看这里:

http://www.j2medev.com/android/start/200905/20090508210923.html

更多相关文章

  1. 【Android的从零单排开发日记】之入门篇(十)——Android应用配置文
  2. Android多媒体开发 Pro Android Media 第一章 Android图像编程入
  3. ProgressBar(进度条) 分类 Android 基础入门教程
  4. Android NDK入门之Hello Jni
  5. Android 入门教程:安装 Android Studio
  6. 【Android学习入门】Android中activity的启动模式

随机推荐

  1. 2020年最新Android大厂面试题 只为你进BA
  2. Android中解决破解签名验证之后导致的登
  3. Android(安卓)学习-序
  4. android TextView文字跟随seekBar滑动条
  5. Android在OnCreate中获取控件的宽度和高
  6. 2012移动开发者大会上海站即将召开
  7. [Android(安卓)Pro] 控制硬加速 hardware
  8. Android(安卓)实现书籍翻页效果----升级
  9. Android天天飞车游戏辅助系统
  10. Android开发之线性布局详解(布局权重)