Create (or add) the first Hello World application in Android Studio

Source: Internet
Author: User

Below we will use Android studio to create the first simple Hello World application. 1. Open Android Studio and load the screen as shown in: 2, select "Start a new Android Studio project" as shown in: 3, enter the application name, select the project path, then click "Next" as shown in: 4, select the minimum version of the SDK , then click "Next" as shown in: 5, select "Blank Activity" and select "Next" as shown in:

6. After entering the activity name, layout name, title and other information, click "Finish", as shown in:

7. Load the corresponding components during the creation process, as shown in:

8. The Android Studio system window looks like this:

9, double-click the text in the simulator, you can modify the text, of course, you can also directly modify the layout file XML to implement, and then click on the "Run" icon, as shown in:

10. Eject the Device Chooser dialog box, select the default emulator device, and click "OK" as shown in:

11, the simulator is slow to run, you need to wait patiently for a period of time, the simulator loading time according to your machine configuration is different, of course, in the development of the recommended you directly use the real machine for debugging, and ultimately the effect of running on the simulator as shown:

Create (or add) the first Hello World application in Android Studio

Related Article

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.