Changes

Jump to: navigation, search

Creating an Android Virtual Device (AVD)

136 bytes added, 19:55, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<googlehtmlet>BUY_ANDROIDandroid44</googlehtmlet>
<googlehtmlet>BUY_ANDROIDandroid44</googlehtmlet>
== Starting the Emulator ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
To perform a test run of the newly created AVD emulator, simply select the emulator from the Android Virtual Device Manager and click on the Start… button followed by Launch in the resulting Launch Options dialog. The emulator will appear in a new window and, after a short period of time, the “android” logo will appear in the center of the screen. The first time the emulator is run, it can take up to 10 minutes for the emulator to fully load and start. On subsequent invocations, this will typically reduce to a few minutes. In the event that the startup time on your system is considerable, do not hesitate to leave the emulator running. The ADT system will detect that it is already running and attach to it when applications are launched, thereby saving considerable amounts of startup time.
Once fully loaded, the emulator will display either the standard Android lock screen.
== AVD Command-line Creation ==
</pre>
For example, to create a new AVD named Nexus7 using the target id for the Android 4.2.2 4 API level 17 19 device (in this case id 1), the following command may be used:
<pre>
</pre>
The android tool will create the new AVD to the specifications required for an a basic Android 4.2.2 4 device, also providing the option to create a custom configuration to match the specification of a specific deviceif required. Once a new AVD has been created from the command line, it may not show up in the Android Device Manager tool until the Refresh button is clicked.
In addition to the creation of new AVDs, a number of other tasks may be performed from the command line. For example, a list of currently available AVDs may be obtained using the list avd command line arguments:
Name: Nexus7
Path: C:\Users\nas\.android\avd\Nexus7.avd
Target: Android 4.2.2 4 (API level 1719)
ABI: armeabi-v7a
Skin: 800x1280
<googlehtmlet>BUY_ANDROIDandroid44</googlehtmlet>
 
<htmlet>ezoicbottom</htmlet>
<hr>
<table border="0" cellspacing="0" width="100%">

Navigation menu