Reputation: 21
I have tried to delete the version in gradle folder and run debug again still the same error message. Java version Java(TM) SE Runtime Environment (build 20.0.2+9-78) and My gradle version is: distributionUrl=https://services.gradle.org/distributions/gradle-7.5-all.zip android studio version 34, Flutter version 3.10.6 on channel stable, Dart version 3.0.6
Upvotes: 2
Views: 3340
Reputation: 154
Your gradle is not compatible with your java version. Just follow the error message, then you can find compatible version for gradle or java, after that update it !
Upvotes: -2