singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.53k stars 811 forks source link

flutter build apk error #2224

Open zhangwenxia opened 4 days ago

zhangwenxia commented 4 days ago

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.

2: Task failed with an exception.

Code sample

No response

Additional Context

No response

EchoEllet commented 3 days ago

It seems like a connection issue

A workaround for now is to exclude the flutter_quill_extensions or super_clipboard plugin from the extensions package.

I might move super_clipboard to a new package quill_super_clipboard (to make it optional) and provide some default implementation in quill_native_bridge for Android and iOS.

zhangwenxia commented 8 hours ago

It seems like a connection issue

A workaround for now is to exclude the flutter_quill_extensions or super_clipboard plugin from the extensions package.

I might move super_clipboard to a new package quill_super_clipboard (to make it optional) and provide some default implementation in quill_native_bridge for Android and iOS.