Kotlin Tutorial: Environment Setup & Android Studio Installation Guide

In this tutorial, we will learn the Kotlin Environment Setup and a step by step guide for Android Studio Installation. To get started with Kotlin’s development first we need to install an IDE on which we can write our Kotlin code, can compile, run & debug. We have the following options for IDEs to use for Kotlin’s development.

  1. Android Studio
  2. IntelliJ IDEA
  3. NetBeans
  4. Eclipse

Android Development Environment Setup

As we have learned in the previous Kotlin Tutorials that Kotlin runs over Java Virtual Machine (JVM), which means we need to install JDK first. But if you are downloading Android Studio we don’t need to pre-install JDK as it comes with the latest OpenJDK embedded in the latest versions, 2.2 and above. But still, if you wish you can install a standalone JDK.

JDK Installation (Not Required for Android Studio)

If you are using any other IDE for Kotlin learning except Android Studio, download & Install JDK from the Oracle Official website. After installing JDK we need to set Environment Variables to set the JRE path, for that follow the instructions from this link.

Android Studio Installation Guide

In this tutorial, we will specifically focus on Android Studio installation. To download Android Studio go to the official Android Studio website & get the latest version. It will automatically detect your operating system and will show download option for Mac, Windows, or Linux.

Install Android Studio

After downloading, launch the installation widget and follow the steps provided by the installation widget as you can see in the following screenshots.

Android Studio Installation Guide

Click Next to Continue to Next step.

Install Android Studio

Click Next to Continue to Next step.

Android Studio Installation Widget

Check start Android Studio checkbox & Click Finish to Continue to Next step.

Option To Import Android Studio Settings

If some previous Android Studio version was already installed in your system it might ask to import settings from the previous version. You can simply choose “Don’t import Settings” and continue.

Import Previous Android Studio Settings

Starting Android Studio

Now Android Studio will be automatically launched and you will see the following starting window.

Android Studio Launch Screen

You will also see a progress bar to find the SDK components, let it compile.

Welcome to Android Studio

Now at the time of the first launch of Android Studio, it will show you a welcome window and will prompt you to download the SDK components.

Click Next to continue to the next step.

It will prompt you to choose the type of installation setup either Standard or Custom. We will recommend using Standard, as it will automatically install the latest SDK components for you.

Installation Type

Click Next to proceed to Next step.

In the next step it will prompt you to choose a theme, either light or dark, you can choose whatever you like.

Installation of SDK Components

Now you will see a widget downloading SDK components. You don’t need to choose anything here, as it will automatically download the latest SDK components as we have already chosen the “Standard” installation type.

Installation of SDK components

Click Finish to start SDK components installation.

Now you will see a downloading widget, let it complete.

When its done installation, you will see the following popup.

Click Finish to launch Android Studio.

Launch Android Studio

That’s it. We have done Android Studio Installation and now we can create or first Android App, that we will learn in the next tutorial.

If you have any questions or suggestions, feel free to add in the comments section below.

Next

Build Your First Android App in Kotlin

Please share this post:
Native Mobile Application Developer (Android + IOS) having experience in Java, Swift, Kotlin, Objective C, Unity, C#, C/C++, NODE JS & PHP.

Ask a Question

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

%d bloggers like this: