I have opened an Android Studio project which was created some time ago and the IDE says that a gradle plugin for Kotlin supports a Kotlin version 1.2.51 or higher. I would like to set it to the latest version but I have to go to the Kotlin website on which it's not easy to find out this information.
Is it possible to find out the latest version of Kotlin in Android Studio?
Kotlin 1.6.0 is now officially released with Stable exhaustive whens, Kover, and new memory manager for Kotlin/Native!
Go to Intellij Preferences -> Build, Execution, Deployment -> Kotlin Compiler. Update Language version and Api version to the one you wish. This should be the accepted answer.
Android Studio provides first-class support for Kotlin. It even has built-in tools to help you convert Java-based code to Kotlin.
If you are on windows do the following:
FILE > SETTINGS > LANGUAGE AND FRAMEWORK > KOTLIN UPDATES
then click on check and then if there was a newer version press install
On Mac OS
Preferences -> Languages & Frameworks -> Kotlin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With