Installing the Kotlin plugin

To use Kotlin in your project, you have to first install the Kotlin plugin in Android Studio:

  1. Select Android Studio | Preferences and select Plugins on the Preferences window:
  1. On the Plugins window, click the Install JetBrains plugin... button at the bottom of the screen:
  1. On the Browse Jetbrains Plugins screen, search for Kotlin and select Kotlin from the list of options. Then, click the Install button:
  1. When the download and installation is complete, click on the Restart Android Studio button to restart the IDE. 
The latest version of Android Studio, and the one above version 3.0, offer full support for Kotlin out of the box. In the versions below 3.0, Kotlin support can be enabled by installing the plugin, as shown previously.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset