Boa tarde; Depois que atualizei o Gradle da versão 6.0 para a versão 7.1.1 o não consigomais compilar e retorna a menssagem abaixo:
Launching lib/main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
What went wrong: Could not open settings generic class cache for settings file '/Users/macbook/StudioProjects/myapp7/android/settings.gradle' (/Users/macbook/.gradle/caches/6.7/scripts/f0emg6u6oecmxqzgk5g9nn4ui).
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 https://help.gradle.org
BUILD FAILED in 1s
como faço para fazer o Dawngrade ou resolver o problema.