Android official command in-depth analysis of Android

Source: Internet
Author: User

Song Zhihui
The android command is a very important development tool that can:

    • Create, delete, and view Android Virtual Devices (AVDs).
    • Create and update Android projects.
    • Update your Android SDK.

If you are using Android Studio or the Eclipse,android command has been integrated into the IDE. So you don't have to run it directly at the command line. To see an introduction to Android commands, you can run the Android–help command.

Grammar

Android [Global options] action [action options]

Global Options
    • -S. Silent mode, output error only.
    • -H. Help.
    • -V. Output errors, warnings, and messages.
AVD Actions and options
Action Options Description
AvD No Run AVD Manager
Sdk No Run the Android SDK Manager
Create AVD -N < name > The name of the AVD
-T < target id> Target ID of the system image
-C Path or size Specify the AVD SD card
-F Force Create AVD
-P Path Specify the AVD file path
-S Set the skin of the AVD
Delete AVD -N Name Delete AVD
Move AVD -N Name Move the AVD by name
-P Path
-R Name Rename the AVD name
Update AVD -N Name Move the AVD by name
Project actions and options
Action Options Description
Create Project Slightly Create a project
Update Project Slightly Update Project
Create Test-project Slightly To create a test project
Update Test-project Slightly Update a test project
Create Lib-project Slightly Create Lib Project
Update Lib-project Slightly Update Lib Project
Create Uitest-project Slightly To create a UI test project
Update action
    • Update adb. Update adb.
    • Update SDK. Update the SDK.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android official command in-depth analysis of Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.