Create a virtual machine
After installing Eclipse+adt and setting up the Android SDK path, click the button in the diagram or select the appropriate option in the menu to open the AVD Manager (Android virtual Device Manager).
Click the New button
Fill in the name, memory card size, select the screen size, click Create AVD.
Startup of virtual machines
The virtual machine is created, as shown below. Using Eclipse to run the developed Android program, if the system version matches, it will automatically start the virtual machine (virtual machine boot is slow, the use of the time to keep the boot, do not shut down).
You can also select the newly created virtual machine, click Start, and the pop-up window launch to start the virtual machine.
Problem solving
A similar error may occur when you start the virtual machine:
Workaround 1:
If you can find an. android folder in the root directory of the Android SDK, there is an error message that says the/avd/android-4.0.ini file. Copy this folder directly to the C:\Users\jzj\ directory described in the error message.
Workaround 2:
1. Set environment variable: Android_sdk_home value is your SDK directory. As I do: the variable name android_sdk_home value is E:\JAVA\ANDROIDSDK
2. Modify the configuration file in the Eclipse installation directory: Locate the following file: Eclipse\configuration.settings\org.eclipse.ui.ide.prefs after opening, add the environment variable that you just configured later.
As I added: android_sdk_home=e\:\\java\\androidsdk (note slash format)
3. Restart Eclipse and rebuild the AVD to run successfully.
Virtual Machine interface
Virtual machine boot interface such as:
Virtual Machine Runtime interface
The virtual machine is running its own Hello World application:
This article first Self's personal homepage, reprint please indicate source: Http://www.hainter.com/android-virtual-device
Android App Development--Create an Android virtual machine