Kotlin on Android. Now official

Today, at the Google I/O keynote, the Android team announced first-class support for Kotlin. We believe this is a great step for Kotlin, and fantastic news for Android developers as well as the rest of our community. We’re thrilled with the opportunities this opens up.

For Android developers, Kotlin support is a chance to use a modern and powerful language, helping solve common headaches such as runtime exceptions and source code verbosity. Kotlin is easy to get started with and can be gradually introduced into existing projects, which means that your existing skills and technology investments are preserved.

Starting now, Android Studio 3.0 ships with Kotlin out of the box, meaning Android developers no longer need to install any extras or worry about compatibility. It also means that moving forward, you can rest assured that both JetBrains and Google will be supporting Android development in Kotlin.

In case you are concerned about other platforms that Kotlin supports (Kotlin/JVM for server and desktop, Kotlin/JS and Kotlin/Native), please be sure that they are as important for us as ever. Our vision here is to make Kotlin a uniform tool for end-to-end development of various applications bridging multiple platforms with the same language. This includes full-stack web applications, Android and iOS clients, embedded/IoT and much more.

Programming languages are just like human ones: the more people speak a language, the better. First-class support on Android will likely bring more users to Kotlin, and we expect the community to grow significantly. This means more libraries and tools developed in/for Kotlin, more experience shared, more Kotlin job offerings, more learning materials published, and so on. We are excited to see the Kotlin ecosystem flourish!

We will be partnering with Google to create a non-profit foundation for Kotlin. Language development will continue to be sponsored by JetBrains, and the Kotlin team (over 40 people and second largest team at the company) will operate as usual. Andrey Breslav remains the Lead Language Designer, and Kotlin will be developed under the same principles as before. We’ll keep our design processes open, because your feedback is critical for us in moving Kotlin in the right direction.

If you’re at Google I/O, make sure you stop by one of the Kotlin talks on the schedule. And of course, don’t forget to register for KotlinConf in San Francisco in November. It will be an amazing event!

A Big Thank You!

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. And of course make the process as enjoyable and fun as possible.

We want to thank Google and the Android team for their trust in Kotlin, but above all we want to thank you, our community, our users. Without you Kotlin wouldn’t be where it is today. Thank you for accompanying us during this journey and we hope you join us for the exciting road ahead.

Frequently Asked Questions

We’ve prepared answers to a series of questions that you may have in regard to this announcement. If your question is not covered, please feel free to ask us in the comments. If you are new to Kotlin, make sure you check out the FAQ on the web site where you can learn more about the basics.

Is Kotlin going to become primarily focused on Android?

One of Kotlin’s goals is to be a language that is available on multiple platforms and this will always be the case. We’ll keep supporting and actively developing Kotlin/JVM (server-side, desktop and other types of applications), and Kotlin/JS. We are working on Kotlin/Native for other platforms such as macOS, iOS and IoT/embedded systems.

How does this impact Kotlin’s release cycles?

Kotlin will continue to have its own independent release cycle from that of Android or Android Studio. The projects remain completely independent. Obviously there will be close collaboration between the product teams to make sure that Kotlin is always working correctly in Android Studio.

Who’s going to work on the Android Studio plugin?

JetBrains will continue to work on the Android Studio plugin, collaborating closely with the Android Studio team.

Will this affect the support for IntelliJ IDEA, Eclipse or Netbeans?

No. Kotlin continues to be a language that targets multiple platforms and support for other IDE’s will continue to be provided as before. Obviously emphasis will be placed on IntelliJ IDEA with hopefully community contributions on the other ones.

Will this affect support for macOS or iOS?

No. We still have plans to support both of these systems with Kotlin/Native and nothing has changed in this regard.

Is JetBrains going to be acquired by Google?

No. JetBrains has no plans of being acquired by any company. JetBrains is and continues to be an independent tool vendor catering to developers regardless of their platform or language of choice.

I have been using Kotlin for android development for the past 3 years…
Apart from new users/popularity (I don’t care), Android studio (using intellij is what sold Kotlin to me), what benefits will there be for the current android developers with the new Google/JetBrains collaboration ?

Will they start writing framework classes in Kotlin ?
Will they fine tune art/dalvik so that things work better/faster ?

I have been using Kotlin for android development for the past 3 years…
Apart from new users/popularity (I don’t care), Android studio (using intellij is what sold Kotlin to me), what benefits will there be for the current android developers with the new Google/JetBrains collaboration ?

Will they start writing framework classes in Kotlin ?
Will they fine tune art/dalvik so that things work better/faster ?

I see mostly benefits for Google (hello Oracle)… what’s in for us, kotlin users ?

One benefit is that large companies can increase their confidence to standardize on Kotlin by knowing that it is officially listed as a first class Android language. This should green light a lot more projects.

Will Google write API examples in Kotlin? In my last project, I was copying java code knowing that Android Studio smart enough to convert it into Kotlin. I was bored for not knowing how to do something in Kotlin i.e adding a listener, AsyncTask etc.

I wonder how developers will balance learning Java 8 with Kotlin. And now that Java 9 is just around the corner, it can get a bit overwhelming. Do you have advice on which features to focus on at the moment?

android app devs now have the freedom of choice of programming lagnuages when developing app using android sdk: they can use only java as they used, they can mix java and kotlin in the same project, or they can only use kotlin in their project.

Hi , I have a question as a beginner of Kotlin. Since I’m a Android-Engineer and working with Unity ,and provide .jar files to the unity engineers ,I wonder if we can work fine with Kotlin like Java . Thanks very much !

kotlin for android this is good news.But i want to know that is jetbrains has future plan to support kotlin in ios. But jetbrains has done very great work because now kotlin run on android dalvik virtual machine, Java virtual machine and javascript V8 engine and future plan is to support kotlin in embedded system which is ARM(advanced RISC machine) based processor.So Now we say that Kotlin is future language which support in any platform and virtual machine.

Android studio with kotlin plugin will take a ClassNotFoundException when I run a Kotlin application(use gralde),and the reason is android studio never compile kotlin source file before launch,but java source file compiled.

Kotlin native for iOS and Mac OSX, why not. But why not investing on a JVM AOT instead and make all the existing Java code also available on these platforms? Do you see any issue with the multi-os engine from Intel, now back to Migeran? They do support Kotlin as well.
Another great, great enterprise platform to support is Microsoft. Many companies moved to Office 365/Sharepoint, thus targeting this environment will open a lot of doors to the Enterprise Java developer community.

A great evolution in coding. This will surely help programmers to wipe out the common errors which takes hours for resolving them. Thank you so much. But yet much more is expected from Kotlin in the near future.

Now that sounds to be a good news from JetBrains, especially for the developers. So now developers are no more stuck with Java as they have now an option as better as Kotlin for developing apps. Great effort by the team. Keep rocking.

I’m new on Kotlin.
I have try to compile android app that develop using kotlin android android studio 3.0.
When I try to compile to device, when i try to Xiaomi redmin note 4x and Xiamoi Mi5, i got message Application installed failed. But when try to Samsung A5 and Assus Zenfone everything running well.

I hope i can using my xiaomi device to try to build android app using kotlin

I have been working on Kotlin for couple of weeks by converting the Activities of the android app I developed java to Kotlin. Kotlin seems and feels an easier language than java. The best thing about is that I could use Java and kotlin activities side by side. So I didn’t have to convert all my Activities to Kotlin before I could test it. However, my question is I read that Kotlin a cross platform app as in Android and iOS. How does that work?