Unable to add Kotlin Extension

I try to add dependency in Android studio. I am using giraffe version of Android.

apply(plugin = “kotlin-android-extensions”)

It can’t able to build. I got the error.

like :- The ‘kotlin-android-extensions’ Gradle plugin is no longer supported. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the ‘kotlin-parcelize’ plugin.

  • 1

    What is your question here? You’ve linked the answers yourself. View extensions plugin was deprecated long time ago and already reached “deprecation level” of error, if you want to use it you have to downgrade to old android studio with legacy version of AGP.

    – 




Leave a Comment