I followed the steps in the Flutter document and tried to build my first Flutter app in Intellij IDEA. And when I try to run it,there was an error about my JAVA_HOME variabl
It's working for me:
GradleException()
to FileNotFoundException()
under android/app/build_gradle since it's not supported in the Java version of Android API 29
Solution found