FAILURE: Build failed with an exception.


  • What went wrong:
    Could not determine the dependencies of task ‘:app:lintVitalRelease’.

Could not resolve all artifacts for configuration ‘:app:debugCompileClasspath’.
Could not download arm64_v8a_debug-1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718.jar (io.flutter:arm64_v8a_debug:1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718)
> Could not get resource ‘https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718/arm64_v8a_debug-1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718.jar’.
> Could not GET ‘https://storage.googleapis.com/download.flutter.io/io/flutter/arm64_v8a_debug/1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718/arm64_v8a_debug-1.0.0-0fdb562ac8068ce3dda6b69aca3f355f4d1d2718.jar’.
> Connect to storage.googleapis.com:443 [storage.googleapis.com/127.0.0.1] failed: Connection refused (Connection refused)

  • 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 33s
Running Gradle task ‘assembleRelease’…
Running Gradle task ‘assembleRelease’… Done 35.3s
Gradle task assembleRelease failed with exit code 1

Flutter Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.2.1, on Linux, locale C.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.63.2)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

legend_1 android kısmında lisans hatası var.
terminale flutter doctor --android-licenses yazabilir misiniz ?

    Write a Reply...