No matching configuration of project :UnityProject was found. The consumer was configured to find a component for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.1.2' but: - None of the consumable configurations have attributes.
Not able to resolve this error on android studio. Any help?
No matching configuration of project :UnityProject was found. The consumer was configured to find a component for use during compile-time, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'debug', attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.1.2' but: - None of the consumable configurations have attributes.
Not able to resolve this error on android studio. Any help?