execution failed for task ':gradle:compilegroovy'. > bug!

Open android folder of your project and the gradle folder and then open gradle-wrapper.properties file you need to update distributionUrl in gradle-wrapper.properties file.


Your Project Old distributionUrl is


distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip


Just change the version of distributionUrl with new distributionUrl


distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip (copy this and replace with old distributionurl)


After paste the new distributionUrl in gradle-wrapper.properties file open terminal of your IDE type cd android and then paste this ./gradlew signingReport.


It take 10 to 15 minutes your error will solved and you can easily generate SHA1 key for your project.