In-depth analysis of official Android commands

Source: Internet
Author: User

In-depth analysis of official Android commands

Author: Song Zhihui
The android command is a very important development tool. It can:

Create, delete, and view Android Virtual Devices (AVDs ). Create and update an android project. Update your android SDK.

If you are using Android Studio or eclipse, the android commands have been integrated into the IDE. Therefore, you do not need to run it directly in the command line. To view the introduction of android commands, run the android-help command.

Syntax

Android [global Options] action [action options]

Global option-s. Silent mode, only output error. -H. Help. -V. Output errors, warnings, and messages. AVD actions and options
Action Option Description
Avd None Run AVD Manager
Sdk None Run Android SDK Manager
Create avd -N <Name> Avd name
  -T <target ID> Target ID of the System Image
  -C path or size SD card for AVD
  -F Force create AVD
  -P path AVD file path
  -S Set AVD skin
Delete avd -N name Delete avd
Move avd -N name Move avd by name
  -P path  
  -R name Rename the avd name
Update avd -N name Move avd by name
Project actions and options
Action Option Description
Create project Omitted Create a project
Update project Omitted Update a project
Create test-project Omitted Create a test project
Update test-project Omitted Update test project
Create lib-project Omitted Create a lib Project
Update lib-project Omitted Update lib Project
Create uitest-project Omitted Create a UI test project
Update adb. Update adb. Update sdk. Update the sdk.

 

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.