'The value for property 'buildConfigFields' cannot be changed any further

I've just updated in Android Studio the Gradle version from 7.2 to 7.4.2 and as soon as it tries to build the project it fails with an exception:

A problem occurred configuring project ':app'.
> The value for property 'buildConfigFields' cannot be changed any further.

Rolling back to 7.2 fixes the issues.

Any ideas?

SOLVED

I was using a deprecated gradle plugin.

Deprecated: com.google.secrets_gradle_plugin

New: com.google.android.libraries.mapsplatform.secrets-gradle-plugin



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source