Build Android development environment, HelloWorld (Win7) (next)

Source: Internet
Author: User

5.

Create AVD to enable Android applications to run on the emulator, you must create an AVD.
From the Eclipse menu, choose Android Virtual Device Manager Windows, the AVD.
Click on the Android Virtual Devices tab on the left panel and click on the right side of the new
Fill in the name, select the target API,SD card size arbitrary, skin random selection, hardware currently keep the default value, such as:


Click OK to start creating, also need some time, patiently wait for a little while, the creation completes will display the following interface:


after clicking Start, click Launch directly in the pop-up dialog to run the Android emulator you created, it will take a little time to boot, please wait patiently. (after the boot can be used, the system comes with a browser can also surf the Internet Oh!) After the test simulator can be turned off, the following HelloWorld development)


6, Small trial HelloWorld program:If you are following regular steps 2, 3, 4, and 5来, follow the steps below to create a program: Click the Eclipse menu, File, New, Project, follow the steps set up "Android Application project", if you jump directly from the second step, it is the File--New android Application project, The following steps are similar.            
then fill in the necessary parameters as shown in: (Note here I checked the Google APIs, you can choose what you like, but you want to create the appropriate AVD)


after next continue to the default click Next, Next,next, Finish. (Close the Welcome screen)After clicking Finish, click on the eclipse's Run menu to select Run configurations ...
Select "Android Application" and click on the top left button (like a "+" on a piece of paper). (or by double-clicking "Android Application")
the right side will become the new interface, Nmae:new_configuration (can be changed to your favorite name)in the Android panel below click Browse ..., select HelloWorld, OK. tick the appropriate AVD in the Automatic of the Target panel, and if there is no AVD available, you need to click on the manager in the lower right corner and create the appropriate AVD. As shown: (The key is to select targets as APIs)



after you've modified it, refresh, then tick and run

Click Run to see the Android emulator, or wait patiently for the boot.

Find the HelloWorld program, the operation is OK.

Build Android development environment, HelloWorld (Win7) (next) (GO)

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.