Upon installing and starting Android Studio for the first time, several options will pop up as seen in the pictures below.
The procedures to launch and configure a new Android project in Android Studio are listed below.
Select the first option to start a new android project.
- Then, name your application in the ‘Application name‘ Text box.
The application name is displayed as “MyApplication” by default. After entering the application name, click “Next,” leaving the other fields at their default settings.
- Next, choose the Minimum SDK option to choose the minimum version of the operating system required to run your app. In this case, “Jelly Bean” is the Minimum SDK, thus phones and tablets running less recent versions of this OS won’t be able to run your apps. Press the “Next” button.
- The next step is to choose the Activity to mobile. Activity in Android refers to a single screen with a user interface. For Beginners, “Empty Activity” is recommended.
- Next, enter text in the Activity name field. The name of your activity is automatically entered into this text box as “MainActivity.” File names in Android Studio are typically written in camel case. The initial word in the activity name is used to build an xml file for the activity. An xml file contains the user interface functionality for our application.
- Click on “Finish”.
Then, a default app is created with all default files. And you can now start writing the application code.