Skip to content

Build Your First Android App in Kotlin | Tutorial in Android Studio

Kotlin is now the official language of the Android application. We can convert our existing Android code (or application) to kotlin. It’s important to upgrade your programming language nowadays. It’s expressive, concise, powerful, and interoperable with our existing Android languages and runtime. In this tutorial, you will learn how to Build Your First Android App.

Build Your First Android App in Kotlin Tutorial in Android Studio

Developing an Android app with kotlin is much easier and have many benefits, which we will discuss other articles. For now, we are developing android basic(first app) with Kotlin.

 

Here is some easy Steps Build Your First Android App in Kotlin :

1. Download and Install android studio 

2. Launch android studio

android studio

3. Click on “Start a new Android Studio project”

android studio new project
Start a new Android Studio project

Fill the details of the project.

  • Application name
  • company domain
  • project location
  • check “Include kotlin support

Click next

android kotlin
Target Android device

Select API and android version …click next

Android kotin
Add an Activity to Mobile

Select “Empty Activity” for now …click next (will build project)

Building Project
Building Project

After creating process has finished you can see project structure

Android kotlin project

4. Run android application

click on the run button and launch the application in the emulator (AVD- android virtual device)

Android virtual devices

5. Output screen in Android emulator

Android Emulator

The source is not needed, it’s a just basic programme.

Note: This example (Project) is developed in Android Studio 3.0.1 ,tested on Android 7.1.1 ( Android Nougat), build-tools version  26.0.1

MinSdkVersion=”15″

TargetSdkVersion=”26″

Coding in Kotlin

Leave a Reply

Your email address will not be published. Required fields are marked *