When i use libgdx to creat a project , there is error ...who tell me how to do

Generating app in C:\Users\86189\Downloads\test
Executing ‘C:\Users\86189\Downloads\test/gradlew.bat clean --no-daemon’
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: The Gradle Daemon.
Daemon will be stopped at the end of the build stopping after processing

FAILURE: Build failed with an exception.

  • Where:
    Settings file ‘C:\Users\86189\Downloads\test\settings.gradle’

  • What went wrong:
    Could not compile settings file ‘C:\Users\86189\Downloads\test\settings.gradle’.

startup failed:
General error during semantic analysis: Unsupported class file major version 61

java.lang.IllegalArgumentException: Unsupported class file major version 61
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:196)
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:177)
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:163)
at groovyjarjarasm.asm.ClassReader.(ClassReader.java:284)
at org.codehaus.groovy.ast.decompiled.AsmDecompiler.parseClass(AsmDecompiler.java:81)
at org.codehaus.groovy.control.ClassNodeResolver.findDecompiled(ClassNodeResolver.java:251)

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

BUILD FAILED in 8s
Done!
To import in Eclipse: File → Import → Gradle → Existing Gradle Project
To import to Intellij IDEA: File → Open → build.gradle
To import to NetBeans: File → Open Project…

You are using Java 17 which is too new for that Groovy version in use there it seems.