So I am trying to run flutter with the basic starting code but I received this error
Launching lib\main.dart on AOSP on IA Emulator in debug mode…
Running Gradle task ‘assembleDebug’…
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:desugarDebugFileDependencies’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not download x86_debug.jar (io.flutter:x86_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408)
Could not get resource ‘http://download.flutter.io/io/flutter/x86_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/x86_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar’.
Read timed out
Could not download x86_64_debug.jar (io.flutter:x86_64_debug:1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408)
Could not get resource ‘http://download.flutter.io/io/flutter/x86_64_debug/1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408/x86_64_debug-1.0.0-af51afceb8886cc11e25047523c4e0c7e1f5d408.jar’.
Read timed out
-
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 5m 50s
Finished with error: Gradle task assembleDebug failed with exit code 1
Can anyone help? It will be very much appreciated