The 'kotlin-android-extensions' Gradle plugin is no longer supported. Please use this migration guide (https://goo.gle/kotlin-android-extens...) to start working with View Binding (https://developer.android.com/topic/l...) and the 'kotlin-parcelize' plugin.
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
just change this version and set below version this
Android studio error solution Just in a click.'
Just watch this video.