In order to ensure that Android Studio supports Kotlin, the first thing to do is to install the Kotlin plugin for Android Studio by clicking on Android Studio | Preferences | Plugins | Browse Repository |, type Kotlin in the search box, and install:
![](/api/v2/epubs/9781788390804/files/assets/1e3a787e-246e-41a8-935a-a8b926a5ab6c.png)
Android Studio will ask for a restart. Please follow the steps. The next step will be adding Kotlin classpath to the project level build.gradle file:
![](/api/v2/epubs/9781788390804/files/assets/ec5f445a-ae01-4631-9b12-83482cefaf4d.png)
Once the classpath is added we will add Gradle project dependency into the app level build.gradle ...