Usage:
Android [Global Options] action [action options]
Global Options:
-V -- verbose mode: errors, warnings and informational messages are printed.
-H -- Help help on a specific command.
-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 ).
-Create test-Project: Creates a new Android test project.
-Update test-Project: updates an android test project (must have an androidmanifest. XML ).
-Create Lib-Project: Creates a new Android library project.
-Update Lib-Project: updates an android Library Project (must have an androidmanifest. XML ).
-Update ADB: Updates ADB to support the USB devices declared in the SDK add-ons.
-Update SDK: updates the SDK by suggesting new platforms to install if available.
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
-T -- Target target ID of the new AVD [required]
-N -- name of the new AVD [required]
-P -- path Location Path of the directory where the new AVD will be created
-F -- Force creation (override an existing AVD)
-S -- skin of the new AVD
Action "Move AVD ":
Moves or renames an android virtual device.
Options:
-P -- path new location path of the directory where to move the AVD
-N -- name of the AVD to move or rename [required]
-R -- rename new name of the AVD to rename
Action "delete AVD ":
Deletes an android virtual device.
Options:
-N -- 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 of the AVD to update [required]
Action "Create Project ":
Creates a new Android project.
Options:
-N -- name Project Name
-T -- Target target ID of the new project [required]
-P -- path location path of new project [required]
-K -- package name [required]
-A -- activity name [required]
Action "Update Project ":
Updates an android Project (must have an androidmanifest. XML ).
Options:
-P -- path Location Path of the project [required]
-L -- library location path of an android library to add, relative to the main project
-N -- name Project Name
-T -- Target target ID to set for the project
-S -- subprojects also update any projects in sub-folders, such as test projects.
Action "create test-project ":
Creates a new Android test project.
Options:
-P -- path location path of new project [required]
-M -- Main Location Path of the project to test, relative to the new project [required]
-N -- name Project Name
Action "Update test-project ":
Updates an android test project (must have an androidmanifest. XML ).
Options:
-M -- Main Location Path of the project to test, relative to the new project [required]
-P -- path Location Path of the project [required]
Action "create Lib-project ":
Creates a new Android library project.
Options:
-N -- name Project Name
-P -- path location path of new project [required]
-T -- Target target ID of the new project [required]
-K -- package name [required]
Action "Update Lib-project ":
Updates an android Library Project (must have an androidmanifest. XML ).
Options:
-P -- path Location Path of the project [required]
-L -- library location path of an android library to add, relative to the main project
-T -- Target target ID to set for the project
Action "Update ADB ":
Updates ADB to support the USB devices declared in the SDK add-ons.
Options:
No options
Action "Update SDK ":
Updates the SDK by suggesting new platforms to install if available.
Options:
No options