Android now supports the Kotlin programming language

Posted May 18, 2017

Google has announced that it is adding Kotlin as a first class language for writing Android apps. You can download the Kotlin plugin today for Android Studio. Note that Android Studio was built on the popular IntelliJ IDEA Java IDE. Kotlin despite having nearly entirely unique syntax of its own is 100 percent interoperable with Java which maintains its dominance as primary language for android apps.

Beginning with the app diagnosis, the Android team has released a new tool called "Android Profiler" to provide devs with a real-time overview of the CPU, Memory, and Network activity of their app (s). Kotlin is now supported along with Java and C++.

When we started the journey with Kotlin over 6 years ago, we aimed at creating a language that would be in line with the same principles that drive our tools - create something that helps developers with the tedious and mundane tasks, allowing them to focus on what's truly important. The primary objective for Kotlin revolved around mixing quality features of Scala with fast compiling speed of Java. Kotlin can call Java, and Java can call Kotlin. There are also changes to the layout editor, a new wizard for icons, support for downloadable fonts, support for new Android Wear 2.0 features in the emulator, and support for Google's Maven repository, among other changes. JetBrains has committed to long-term backwards compatibility starting with this version.

To get started with Kotlin, download the Android Studio 3.0 preview, open one of your existing Java files, and then choose "Convert Java File to Kotlin File" in the Code menu. We'll be updating this article with more information.