§1.1 Creating an Android project

Source: Internet
Author: User

Start the Android Studio program, and if it is first launched, you will see the Welcome page:

Click "Start a new Android Studio project" Here and you will see the wizard page for creating your app. Enter the name of the app in "Application Name", as shown in, and enter the company domain name in "corporate domain". The automatically generated package name changes to Com.rongma.helloworld, that is, the package name consists of the company domain name + app name. Set the project path in the project Location column. ( do not tick include C + + support, about Android C + + development, etc. ), click Next:

As shown, this page will configure which devices and system versions Our app supports, here Android Studio Smart recommended Android 4.0.3 as the minimum version we want to support. Based on Google Play stats, compatible with Android4.0.3 and later system versions, our app will work on at least 97.4% of the devices. Click Next:

For example, we will select the template for the app launch page on this page, tick "Empty Activity, click Next:

As shown, this page is the name of the class name and layout file for the activity class. It doesn't matter if you don't understand this sentence, you will understand it later. ) , remove the "Backwards compatibility (APPCOMPAT)" tick. Click Finish

Well, a complete Android app is freshly baked, and in the next section you'll be introduced to the Android project structure ~ ~

§1.1 Creating an Android project

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.