How to fix this? please help me!

* What went wrong:
Could not open settings generic class cache for settings file 'F:\project567\android\settings.gradle' (C:\Users\Administrat
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 64       

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

You try to run a Gradle 7.0.2 build with Java 20, that is not supported, you need to use a compatible Java version: Compatibility Matrix