I used to run this project last year (around nov) with no issues but i upgraded. [android] gradle fails with > bug! Build failed with an exception.
Jameliz Erome Unveiling The Inspiring Journey Of A Rising Star
I tried to figure it out, but i couldn't even find how.
In the post that you forwarded the answer marked as solved from pcooper focus on the java version.
U can refer to the version im currently using. Exception in phase 'semantic analysis' in source unit '_buildscript_' unsupported class file major version 62 #34822 new issue When i try to run my first flutter app this happen: Exception in phase 'semantic analysis' in source unit '_buildscript_' unsupported class file major version 57 * try:
So you run a gradle version with java 21 that does not support running on java 21. Exception in phase 'semantic analysis' in source unit ' buildscript ' unsupported class file major version 65 it seems to be related to gradle and java compatibility. But maybe you should stick. Gradle 8.14 will support jdk 24 and final version should be released soon (at the moment you can use 8.14 release candidate 2, see links above).
I am getting this error when trying to run a flutter application on my smartphone using vscode.
“class file major version 65” means java 21. First, you can execute this command: I will have a look at that too.