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
Asked
Active
Viewed 143 times
0
-
Did you tried `flutter doctor --verbose`? you could get hint from that command. – Boseong Aug 03 '23 at 01:11
-
1[Please do not upload images of code/data/errors.](//meta.stackoverflow.com/q/285551) – Sören Aug 03 '23 at 04:49
-
https://stackoverflow.com/questions/68798266/the-project-uses-gradle-2-10-which-is-incompatible-with-android-studio-2020-3 – Rahul Kushwaha Aug 03 '23 at 05:51
-
https://stackoverflow.com/questions/76123807/my-projects-gradle-version-is-incompatible-with-the-java-version-that-flutter-i – Rahul Kushwaha Aug 03 '23 at 05:51
-
check these post to get your answer. You have to upgrade your gradle version . see some videos if not understand . – Rahul Kushwaha Aug 03 '23 at 05:52
-
https://stackoverflow.com/questions/76795890/flutter-warning-when-build-release/76825418#76825418 can you try this ? – Bora Keçeci Aug 03 '23 at 12:40
1 Answers
0
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 !

임세준
- 159
- 1
- 10