Flutter somehow thinks I’m on macOS even though I’m on Windows
I’m using Android studio on my windows and running flutter doctor responds with
Android Studio is not recognizing my JAVA_HOME
I am trying to integrate firebase_core into my flutter app. However I’m getting some issues and I think it stems from using java 21 and so I want to switch to java 17. I did all of the things necessary to do so. When I click run I get an error from Android studio saying that JAVA_HOME is set to invalid dir jdk-21. enter image description here
enter image description here
enter image description here