Android Parcelable for Kotlin is not working

Now it is enough to add 'kotlin-parcelize' plugin. So for example:

 plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-parcelize'

}


Add below code into your App Level gradle.

apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'

androidExtensions {
    experimental = true
}

Check IMG


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

android {
    //

    androidExtensions {
        experimental = true
    }

}

The order of plugin matters. kotlin-android must be before kotlin-android-extension. Then clean project. Unable to add kotlin android extension