How To Start/Create A New Project In Android Studio
We create or start a new project in android studio to create a new Mobile Application for Android. To create a new project we need to enter the Application name, Company Domain, choose Phone and Tablet, fill Minimum SDK, Activity details and Activity Name & Layout Name in the text box. Below is the step by step guide.
To create a new project perform the following steps:
Step 1: Firstly, open the Android Studio. You will see “Welcome to Android Studio” on your computer screen. After that you click on “Start a new Android Studio project”.
Step 2: After that you will see “New Project Android Studio” on your computer screen. Here enter the “Application name” and Type the “Company Domain” in the text box and then Click Next button.
Important Note: Company domain is used to uniquely identify the App. So two App with same Application name will have different company domain. Another thing to know is that company domain is written in reverse. Ex: com.abhiandroid
Step 3: After that you will see “Target Android Devices” on your computer screen and here select the form factors your app will run on. Select “Phone and Tablet” field and enter the “Minimum SDK” in the text box and then Click Next button.
Step 4: After that you will see Add an activity to Mobile on your computer screen and Select the “Activity” as per requirement and then Click Next button. We selected Empty Activity.
Step 5: After that you will see Customize the Activity on your computer screen and enter the “Activity Name” in the text box and enter the “Layout Name” in the text box and then Click Finish button. Here JAVA and XML file will be created.
Activity Name – Name of JAVA file for programming
Layout Name – Name of XML file for designing UI
How To Start A New Project When A Project Is Already Open In Android Studio:
Step 1: Firstly, we will Click on File.
Step 2: After that we will Click on New.
Step 3: After that we will Click on New Project.
After that you will see “New Project Android Studio” on your computer screen and follow the same steps as we discussed in the first part of this article.
DOWNLOAD THIS FREE eBook!
This free eBook will help you master the learning of Android App Development in Android Studio!