

Kotlin Multiplatform Mobile ( KMM) is an SDK for cross-platform mobile development provided by JetBrains. Reusing code between mobile platforms has never been so easy! Join such great teams as VMWare, Autodesk, and Yandex who are sharing code in their mobile apps using Kotlin. It includes the new KMM Plugin for Android Studio, which allows you to write, run, test, and debug shared code in the same IDE. Today KMM goes Alpha, and you can start sharing business logic in your mobile apps with it right away. Don’t worry if it doesn’t make sense right away, it will be dealt with in detail later on in the guide.Kotlin Multiplatform Mobile (KMM) is an SDK that allows you to use the same business logic code in both iOS and Android applications. Once you have the file created, type out the following cremonial Hello World code. In order to verify your installation, create a new Kotlin file in the src folder and name it app (or anything else that suits you) You will now be taken to the main editor where you will see your project files organized in the following manner. Give your project a name and click Finish. Select the Kotlin checkbox on that screen Once you have installed IntelliJ you can basically get started with your first project in Kotlin without any further configurations.Ĭreate a New Project and make sure you select the Java Module. You can grab the Community Edition of IntelliJ from JetBrains. This is the recommended IDE for Kotlin because of the tooling support that is provided by Jetbrains. The quickest way to get Kotlin running on your machines is by using it alongside IntelliJ IDEA. Once you are done setting up JDK, proceed with the following steps.

Kotlin works with JDK 1.6+ so make sure you get the correct version installed. If you do not have JDK installed on your computer, head over to the Installation section on this link to learn how to set it up.

VersionĪs of this writing, the latest stable release of Kotlin happens to be version 1.2.71 Installationīefore proceeding with the installation instructions for Kotlin, you need to make sure that you have set up JDK (Java Development Kit) set up on your system. The developer community has embraced Kotlin to such an extent that Google announced first class support for the language for Android Development at Google I/O 2017.

It has been in development for close to 6 years and it hit 1.0 just a year ago. It serves as a replacement for Java and runs on the JVM. Kotlin is a programming language developed by Jetbrains, the company behind some of the world’s most popular IDEs like IntelliJ and Pycharm.
