“Extension with name ‘android’ does not exist” error when adding Kotlin to Android project

Android Studio modifies your build.gradle adding apply plugin: 'kotlin-android' above apply plugin: 'com.android.application'. Just move the Kotlin line below the Android one and Gradle will run smoothly. It should look like this example:

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)