Friday, January 15, 2021

How to Create/Start a New Project in Android Studio

How to Create/Start a New Project in Android Studio

After successfully installing the Android studio and opening it for the first time, a number of options appear as shown in the below images.

Below are the steps to start and set up a new android project in Android Studio.

By default, the application name appears as “MyApplication”. Click on “Next” after filling the Application name field, leaving the other fields to their default values.

Then select the Minimum SDK to select the operating system which must be least version to run your app, here “Jelly Bean” is made Minimum SDK, and phones and tablets with versions lower to this OS will not be able to run your apps. Click on “Next”.

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.

Then, fill the Activity name text field. By default, “MainActivity” is filled in this text box as the name of your activity. In android studio, files are usually named in camel case. An xml file of the activity is created using the first word in the Activity name. An xml file is a file to provide functionalities of user interface for our app.

Then, a default app is created with all default files. And you can now start writing the application code.

Attention reader! Don’t stop learning now. Get hold of all the important Java Foundation and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready.

No comments:

Post a Comment