How to create new project in android studio?

1) Open Android studio, then find the File option from the menu bar and go to New => New Project.





2) Now one new dialog box is open and ask the project details Application name, Company Domain and project location.

Application name
     No need to enter unique name compare with playstore, this name is displayed under the application icon.


Application name for android project
Company Domain
     It must be unique compare between the google play store (If you created the name and the same name already in playstore it won't show any error message, but in publishing time it will show a error).


Unique id in play store


Project Location
     It will automatically take the previous project path, if you want the same path no need to change it, or you can change.

Application directory

3) Then press Next button
     In this window select the minimum target SDK ,wear, TV, and Android auto.

Minimum SDK
     Here you can select the minimum required android os version.

Choose Minimum SDK target version

Wear
     This mean is this application support wearable android device or not (If yes then check or uncheck it).

Wearable android device or not

Wearable device

Android TV
     It will indicate this application is applicable for Android TV.

Android TV android studio

Android tv os

Android auto
Android auto



4) Click next in this dialog box, you can find some template, if you want any templates from there you can select otherwise select "Blank Activity".

Blank Activity in android studio new project

5) Click next and enter the activity name, layout name, title and menu resource name, you can change it or leave it and just press finish button.

Final of the new project window

 6) Click Finish. Now you can write your code here.










0 nhận xét:

Đăng nhận xét