Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Where: Build file 'C:\Users\tyous\StudioProjects\untitled\android\app\build.gradle' line: 24
What went wrong: A problem occurred evaluating project ':app'.
Failed to apply plugin 'com.android.internal.version-check'. Could not create plugin of type 'VersionCheckPlugin'. > Could not generate a decorated class for type VersionCheckPlugin. > Lcom/android/ide/common/repository/GradleVersion;
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 3m 51s Exception: Gradle task assembleDebug failed with exit code 1