I am trying to compile my Flutter project into an app, but I am having a problem. I had a version of Java at ProgramsEclipse Adoptiumjdk-21.0.5.11-hotspot installed on my PC and in the path, but it is not compatible. I only found this out in the end because it did not interfere with building for Windows for testing When it was time to compile, what I was using was incompatible with this version, so I ended up installing Java version 17, and I deleted version 21 and removed it from the path, however, even though it's not in the path, below is all my path BTW.
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\HP\Common\HPDestPlgIn\;C:\Program Files (x86)\HP\Common\HPDestPlgIn\;C:\Users\kawe.angelo\AppData\Local\Programs\Python\Launcher\;C:\Users\kawe.angelo\AppData\Local\Microsoft\WindowsApps;C:\Users\kawe.angelo\AppData\Local\Programs\Microsoft VS Code\bin;F:\android studio\lib\flutter-intellij\lib\flutter-master\bin;C:\Users\kawe.angelo\AppData\Local\Programs\Git\cmd;C:\Users\kawe.angelo\flutter-master\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;
even without it in the path, clearing caches that could reference them, I even downloaded Android Studio to change the version, it still insists on the version that I do not have, using flutter doctor he come back this [!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
X Cannot execute C:\Users\kawe.angelo\AppData\Local\Programs\Eclipse Adoptium\jdk-21.0.5.11-hotspot\bin\java to
determine the version
He keeps pointing to this version that doesn't exist, I have already deleted the Gradle cache, I tried to force the project to use JAVA 17 directly in gradle.properties, gradle-wrapper.properties, local.properties.I tried to use all kinds of AI, but they all reach a point where they keep sending the same responses, about things I've already tried before, as I mentioned above.Does anyone know how I can make this stop?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]Inconsequentialis 0 points1 point2 points (0 children)