FAILURE: Build failed with an exception.
- What went wrong:
Could not open settings generic class cache for settings file ‘C:UserssubugOneDriveDesktopReact CLI ProjectFirstProjectandroidsettings.gradle’ (C:Userssubug.gradlecaches8.6scriptsdrznp2cu5gpd9z7oay2ucz99t).
BUG! exception in phase ‘semantic analysis’ in source unit ‘BuildScript‘ Unsupported class file major version 66
- 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.
Get more help at https://help.gradle.org.
BUILD FAILED in 1s
info Run CLI with –verbose flag for more details.
I run my react native project in vs code that produce this type of error how to solve this.
Give me correct solution for this error
SUBRAMANIGURU2002 G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.