I try to remove below plugin from Gradle :
apply plugin: 'kotlin-android-extensions'
But it doesn't sync and error:
A problem occurred evaluating project ':app'.
> No signature of method: build_43umlschc8aredhqs1z2ho67w.android() is applicable for argument types: (build_43umlschc8aredhqs1z2ho67w$_run_closure1) values: [build_43umlschc8aredhqs1z2ho67w$_run_closure1@786e3050]
Thanks for any help.
1- just remove this code from android block in build.gradle:
android {
androidExtensions {
experimental = true
}
}
or remove extra character like: semicolon or other extra character in android block in build.gradle
2- if you use parcelize in your project add:
apply plugin: 'kotlin-parcelize'
in your build.gradle.
then replace:
import kotlinx.android.parcel.Parcelize
with :
import kotlinx.parcelize.Parcelize
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With