Synthetic binding is not workin in latest version of anroid studios. Is the feature present in the latest version.
If not what is the replacement of this feature.
Synthetic binding is not workin in latest version of anroid studios. Is the feature present in the latest version.
If not what is the replacement of this feature.
@karan_02 you can enable using synthetic binding by adding
apply plugin: kotlin-android-extensions
to app/bulid.gradle
And for its replacement you can refer to this doc
https://developer.android.com/topic/libraries/view-binding/migration
The following error is coming when I apply the given plugin: Gradle sync started 02:00 Gradle sync failed: Plugin [id: ‘kotlin-android-extensions’] was not found in any of the following sources: - Gradle Core Plugins (not a core plugin, please see https://docs.gradle.org/7.2-rc-3/userguide/standard_plugins.html for available core plugins) - Plugin Repositories (plugin dependency must include a version number for this source) (439 ms)
can you show your code changes for the build.gradle
or share the whole build.gradle code