Skip to content

Android Gradle build failure related to Cargokit on Linux when using flutter_quill_extensions #2224

@zhangwenxia

Description

@zhangwenxia

Is there an existing issue for this?

Flutter Quill version

flutter_quill: ^10.5.18 、flutter_quill_extensions: ^10.5.18

Steps to reproduce

flutter build apk

Expected results

Run successfully

Actual results

1、flutter build apk

Error reported as follows:
SEVERE: ================================================================================
SEVERE: Cargokit BuildTool failed with error:
SEVERE: --------------------------------------------------------------------------------
SEVERE: ClientException with SocketException: Operation timed out (OS Error: Operation timed out, errno = 60), address = objects.githubusercontent.com, port = 61413, uri=https://github.com/irondash/irondash/releases/download/precompiled_c8cbb92de1e8b3dc787cdf8cb122c753/i686-linux-android_libirondash_engine_context_native.so.sig
SEVERE: --------------------------------------------------------------------------------
SEVERE: #0 IOClient.send (package:http/src/io_client.dart:119:7)
SEVERE:
SEVERE: #1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93:32)
SEVERE:
SEVERE: #2 _withClient (package:http/http.dart:166:12)
SEVERE:
SEVERE: #3 ArtifactProvider._get (package:build_tool/src/artifacts_provider.dart:165:16)
SEVERE:
SEVERE: #4 ArtifactProvider._tryDownloadArtifacts (package:build_tool/src/artifacts_provider.dart:192:23)
SEVERE:
SEVERE: #5 ArtifactProvider._getPrecompiledArtifacts (package:build_tool/src/artifacts_provider.dart:133:11)
SEVERE:
SEVERE: #6 ArtifactProvider.getArtifacts (package:build_tool/src/artifacts_provider.dart:54:20)
SEVERE:
SEVERE: #7 BuildGradle.build (package:build_tool/src/build_gradle.dart:32:23)
SEVERE:
SEVERE: #8 BuildGradleCommand.runBuildCommand (package:build_tool/src/build_tool.dart:62:5)
SEVERE:
SEVERE: #9 BuildCommand.run (package:build_tool/src/build_tool.dart:34:5)
SEVERE:
SEVERE: #10 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
SEVERE:
SEVERE: #11 runMain (package:build_tool/src/build_tool.dart:248:5)
SEVERE:
SEVERE: --------------------------------------------------------------------------------
SEVERE: BuildTool arguments: [build-gradle]
SEVERE: ================================================================================

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

  • 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.
==============================================================================

2: Task failed with an exception.

  • Where:
    Script '/Users/zhangwenxia/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/irondash_engine_context-0.5.4/cargokit/gradle/plugin.gradle' line: 65

  • What went wrong:
    Execution failed for task ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'.

Process 'command '/Users/zhangwenxia/.pub-cache/hosted/mirrors.tuna.tsinghua.edu.cn%47dart-pub%47/irondash_engine_context-0.5.4/cargokit/gradle/../run_build_tool.sh'' finished with non-zero exit value 1

  • 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.
==============================================================================

Code sample

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions