I'm trying to test in device and I'm getting this message:
Launching lib\main.dart on SM A346M in debug mode...
Upgrading build.gradle
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':gradle:compileGroovy'.
> BUG! exception in phase 'semantic analysis' in source unit 'C:\Users\rbark\AppData\Roaming\FlutterFlow\flutterflow\flutter\packages\flutter_tools\gradle\src\main\groovy\app_plugin_loader.groovy' Unsupported class file major version 65
* 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 1m 9s
Running Gradle task 'assembleDebug'... 73,9s
โโ Flutter Fix โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using โ
โ for Gradle. โ
โ โ
โ If you recently upgraded Android Studio, consult the migration guide at โ
โ https://flutter.dev/to/to/java-gradle-incompatibility. โ
โ โ
โ Otherwise, to fix this issue, first, check the Java version used by Flutter by running `flutter โ
โ doctor --verbose`. โ
โ โ
โ Then, update the Gradle version specified in โ
โ C:\Users\rbark\AppData\Roaming\FlutterFlow\flutterflow\app_venda_balcao\android\gradle\wrapper\g โ
โ radle-wrapper.properties to be compatible with that Java version. See the link below for more โ
โ information on compatible Java/Gradle versions: โ
โ https://docs.gradle.org/current/userguide/compatibility.html#java โ
โ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโ
Error: Gradle task assembleDebug failed with exit code 1