Android Development DOS command line create AVD

Source: Internet
Author: User

Command-line tools

Android–h

Help commands to confirm that the installation configuration is successful and to see other commands.

Post-run results such as:

Create an AVD virtual appliance

  Android Create Avd–n <name>-t <targetid>[-<option><value>]

<name> is the name of the AVD to be created

<targetID> is available Android Targets, which is the SDK version that you use, you can enter the following commands:

  Android list targets

For example, get targets first:

Then create the AVD:

  

Note:-T 2 (2: Is the ID of the device)

You can use the Android list AvD to view the virtual devices that are created on your computer.

The location of the AVD is specified according to an environment variable called "Android_sdk_home" , which is saved in the default directory of the system if the variable is not specified.

The default path in Windows system is C:\USERS\<USER>\.ANDROID\AVD

The visual approach is to run the AVD Manager.exe in the SDK directory directly by clicking on the

Start the simulation machine

The emulator.exe executable file in the SDK Tools directory is a simulation emulator for the hardware device.

Emulator uses a configuration called Android Virtual Device (AVD) to specify the Android version, hardware options, and emulator skins.

  EMULATOR–AVD <avdname>

The Android emulator provides many options for you to set parameters to determine the behavior and appearance of the emulator when you start the emulator.

Commonly used settings are the Android virtual device AVD, the display screen size, and the specified SD memory card.

The standard commands are as follows:

  EMULATOR–AVD <avdname>-skin <skinID>-sdcard <filepath>

Deleting a virtual machine

  Android Delete Avd–n <name>


Android Development DOS command line create AVD

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.