Flutter & Android: Your build is currently configured to use Java 17.0.2 and Gradle 7.0.2

After Updating Android studio I have faced this issue.

You Can Simply Follow These steps:

Open Your Android Studio Project

Go To Gradle Scripts -> gradle-wrapper.properties

My old setting like this

My old setting like this

Now You Can Change distributions/Gradle versions 7.2 To 7.6 7.2 To 7.6 like this

it’s working for me .

You can also use 7.4 + version . it’s also working for me.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)