Google: Use Kotlin for new Android apps

At the Google I/O conference, Google announced that Android development will become increasingly ‘Kotlin-first’

Credit: Christoph

Google is doubling down on its support of the Kotlin language for Android mobile development, with the recommendation that all new Android projects be developed in Kotlin, the JVM-based alternative to Java. But while Android development will become “Kotlin-first,” Java and C++ will continue to be supported. 

With Kotlin, there is less to type, less to test, and less to maintain, said Chet Haase, who leads the Android UI team at Google, at the Google I/O developer conference in Mountain View, CA. Unlike Java, Kotlin doesn’t require developers to write large amounts of “boilerplate” code. Haase even joked that developers’ typing skills might even be eroding because of this. 

Google’s latest recommendation follows the company’s May 2017 endorsement of Kotlin as a supported language for Android development alongside Java. Since then, Kotlin has become the most popular language for Android development. Today more than 50 percent of professional Android developers use Kotlin. 

In line with Google’s Kotlin support, many APIs for Android Jetpack software components are being introduced first for Kotlin developers, and a Kotlin-first reactive UI programming library, Jetpack Compose, is being developed as part of the Android Open Source Project (AOSP). In addition to investing more in tools, both Google and Kotlin inventor JetBrains are offering training in the language.

Google still supports the use of Java and C++ for Android development. Google said the Android toolchain will support Java desugaring for bytecode transformations through Java 10, and desugaring soon will be enabled for popular OpenJDK libraries as well. A new toolchain for C++ also is being offered.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

More about GoogleinventorMountain View

Show Comments
[]