android R1.5之android工具

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

Global options:
  -v --verbose  Verbose mode: errors, warnings and informational messages are printed.
  -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 a new SDK.
- create project: Creates a new Android Project.
- update project: Updates an Android Project (must have an AndroidManifest.xml).

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 the new AVD
  -s --skin     Skin of the new AVD
  -p --path     Location path of the directory where the new AVD will be created
  -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)
#./android create avd -n my15avd -t 1

// -t de 的参数可以通过./android -list target 获得
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]

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值