This page describes current known issues and limitations when using Kotlin with Android Studio 3.0. For more general issues in Android Studio's stable release, see the other Known Issues page.
To report an issue not already included here, see how to report a bug.
Code doesn't compile after converting from Java file
In limited situations, using Code > Convert Java File to Kotlin File results in Kotlin code that does not compile. This is a known issue with the Kotlin plugin.
Lint checks with Kotlin don't work from command line
Lint checks on Kotlin files only work from the Android Studio IDE. The currently do not run when you run lint directly from Gradle.
Code completion with Kotlin shows private resources
In Kotlin code completion, private resources are not filtered out the way they
are from Java code completion. For example, typing
R.drawable. lists a bunch
of internal app compat resources as suggestions.
Live templates and postfix completion not fully available with Kotlin
When writing in Java language, you can use
live templates or
such as typing
variable.for and pressing Tab to generate a for-loop that
iterates over the variable. However, these are not fully supported with
Kotlin. And due to language difference, it's possible some never will be.
Some refactorings not available with Kotlin
Not all code refactorings works with Kotlin, especially those for Android. For example, code refactoring to modularize Kotlin code currently does not work with Kotlin.