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

Viewed 717

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?

2 Answers

SOLVED

I was using a deprecated gradle plugin.

Deprecated: com.google.secrets_gradle_plugin

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

Related