1. Create an Android project for android Studio and studioandroid

Source: Internet
Author: User

1. Create an Android project for android Studio and studioandroid

1. Create a Hello world project

 

1.1 create a project

Start android studio and click file> new project menu (). The Create NewProject page is displayed.

 

Figure, create a new project

 

Figure, new project options

Follow the prompts to enter the desired content based on your actual situation and requirements.

Application name: Project name. Note that the project name must start with a capital letter.

For example, we have a project called Mango.

Company Domain: the Domain name of the Company, such as our Company name yeehot.com.

Package name: the Package name of the project.

Project location: the path to save the Project.

 

Enter related project options and click next to enter a page.

 

By default, the Phone and Tablet options are selected, which means the program is applicable to mobile Phone and Tablet development.

Minimum SDK: the Minimum version of the android system. For example, if you select api 15, you must use a mobile phone of android 4.03 or later to run the program.

TV: TV Program

Wear: Watch Device

Glass: Glasses

 

After entering the information, click next To Go To The activity selection page,

 

After android is selected, the project is set to the first page when the program is started. We can select the corresponding functional requirements page as needed, but for beginners, I suggest choosing Blank Activity, a Blank Activity page.

After you select Blank Activity, you need to configure this page,

 

Activity Name: Page Name

Layout Name: Layout Name

Title: Title

Menu Resource Name: Name of the Menu Layout

 

After entering the preceding content, click Finish. Now Android Stuidio has created a project for you.



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.