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