flutter doctor --android-licenses
ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk1.8.0_202
Please set the JAVA_HOME variable in your environment to match the location of your Java installation.
i tried uninstalling jdk and installed it again but its not working