输入 flutter run 就出现
- What went wrong: Could not open settings generic class cache for settings file 'C:\Users\Jiahao\Documents\vscode\mobile\one\two\android\settings.gradle' (C:\Users\Jiahao.gradle\caches\6.7\scripts\1fnwrr8g4rohfp291nvlxj5qe).
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 60
-
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 help.gradle.org
BUILD FAILED in 810ms
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 1,584ms
Exception: Gradle task assembleDebug failed with exit code 1