Flutter Gradle build fail

Hello, I try to build an APK with flutter but, when I run flutter build apk --split-per-abi I got this error Execution failed for task ':app:transformClassesWithAndroidGradleClassShrinkerForRelease'.. The last month I release an APK in google play without this error and now I add some new widgets and test on my phone, everything works, then I check in a post and I found that build.gradle needs to update Gradle to the last version but my Gradle has the last version. Anyone knows how to fix or where can I check?

1 Like

Please checkout your files for a fresh Gradle versions:

dependencies {
   classpath 'com.android.tools.build:gradle:3.+'