Android Tutorial #1 - Creating A New Project In Android Studio

in #utopian-io8 years ago (edited)

What Will I Learn?

You will learn how to create a new project in Android Studio (3.0.1) in this tutorial. You will be able to create a new project through customised settings. You will also be learnt what kind of projects you are able to import to the IDE.

  • Recognising the Android Studio environment.
  • How to create a new project.
  • How to import an exist project.
  • What kind of applications you can create.

Requirements

You need the latest version of Android Studio. It can be downloaded from official website of Android here

  • Android Studio
  • No need even any code knowledge for this tutorial.

Difficulty

  • Basic

Tutorial Contents

Creating A New Project

Firstly , open the Android Studio that you already installed.
welcome.png

A window includes several options welcomes us. Let's take a look the options;

  • Start a new Android Studio Project : This options for the ones who wants to create a new project. You need to continue through this option.

  • Open an existing Android Studio Project : If you want to import an existing project , you can open it via this option. Then you can continue to edit it.

  • Check out project from Version Control : If you want to pull a project from a Version Control System (Git, Svn, etc.) , you can use this option.

  • Import project (Eclipse ADT , Gradle ,etc..) : If you want to open a project which is created using another IDE or OS , you need to use this option to convert the project properly to an updated Android project.

  • Import an Android code sample : You can use this option to take a look at the sample codes that Android provides.

Defining A New Package Name

Just after hitting Start a new Android Studio Project , a window to define the package name of the project will be appeared.

image.png

Application Name: This is the name of the application. In other words, The name which is seen just under application icon in menu.

Company Domain: Company domain of the application. This is an optional field. Android studio creates a package name instantly by using your company name when you fill this field.

Project Location : The location you want to save your project.

Package Name : If you fill Company Domain field , Android Studio creates a package name for you. This package name can be edited through the button which is located end of this field.

Click next to see following settings.

Selecting Target Devices

You get a screen to choose the target devices.
target.png

You can choose the minimum target SDK according to your necessities. I recommend you to choose API 16 as minimum SDK. It already contains more than 98% of android devices.

You can click next button to continue.

Adding An Activity To Project

image.png

You can choose different type activities here. However, Empty Activity would be suitable for now.
Then click Next button.

Naming Your Activity

You already have an activity in your project in this step. A specific name can be assigned to that activity in this step . Click "Finish" for complete all initialisation.

Thanks.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

@sgurdag, Like your contribution, upvote.

Your contribution cannot be approved because it does not follow the Utopian Rules.

  • this contribution cannot be accepted,its in no way technical.

You can contact us on Discord.
[utopian-moderator]