-
If JAVA_HOME isn't defined, Flutter looks for any java executable in your path. Once issue 122609 lands, the flutter doctor command reports which version of Java is used
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
So okay, fine. Just downgrade the version globally of the JDK with the JAVA_HOME or whatever, it's not a problem (while doing this I discovered mise, which is a pretty cool tool). But I couldn't make Flutter use other JDK versions, even though the output of java -version was this:
-
To solve this problem, I have to point Flutter to the JDK 17 with this command, which I've found in this nice issue.
-
First off, Gradle is the build system selected by the Android team at Google as the official tool for generating Android APKs, Bundles, or libraries. Gradle exists outside Android and can be used with other technologies.