Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
- What went wrong: A problem occurred configuring root project 'android'.
Could not resolve all files for configuration ':classpath'. Could not find transform-api-2.0.0-deprecated-use-gradle-api.jar (com.android.tools.build:transform-api:2.0.0-deprecated-use-gradle-api). Searched in the following locations: https://dl.google.com/dl/android/maven2/com/android/tools/build/transform-api/2.0.0-deprecated-use-gradle-api/transform-api-2.0.0-deprecated-use-gradle-api.jar
- 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 9s Exception: Gradle task assembleDebug failed with exit code 1