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
This issue is due to the not pointing to correct Android API Platform
Solution :
In the Android Studio File > Project Structure