androidandroid-studioandroid-studio-3.2

kotlin-android error when using Android Studio 3.2 Canary 17


Just updated to Android Studio 3.2 Canary 17 and now getting following error:

A problem occurred configuring project ':some_module`. 'kotlin-android' expects one of the Android Gradle plugins to be applied to the project:

    * android
    * com.android.application
    * android-library
    * com.android.library
    * com.android.test
    * com.android.feature
    * com.android.dynamic-feature

The build.gradle for that module includes:

apply plugin: 'com.android.feature'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

The project includes several modules composed of mixture of com.android.application, com.android.feature, and com.android.instantapp


Solution

  • Fixed in Canary 18 which is out now.