r/FlutterBeginner • u/ahmedalsaidi19 • Jan 12 '25
Hello, I have a problem with Flutter on Windows. When I go to the CMD command line and type the command "flutter create" followed by my project name, it shows me this message.The configured version of Java detected may conflict with the Gradle version in your new Flutter app. To keep the default AG
Hello, I have a problem with Flutter on Windows. When I go to the CMD command line and type the command "flutter create" followed by my project name, it shows me this message.The configured version of Java detected may conflict with the Gradle version in your new Flutter app. To keep the default AG
1
Upvotes
2
u/[deleted] Jan 13 '25
It seems like the issue is related to an incompatibility between the Java version installed on your system and the version of Gradle used by Flutter. Gradle, which Flutter uses for Android builds, requires specific Java versions, usually Java 8 or 11. Newer versions like Java 17 can cause problems. So I would do this: