Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: completed #21

Open
hughware opened this issue Jun 5, 2024 · 0 comments
Open

Error: completed #21

hughware opened this issue Jun 5, 2024 · 0 comments

Comments

@hughware
Copy link

hughware commented Jun 5, 2024

flutter build apk --release --target-platform android-arm64
  shell: /usr/bin/bash -e {0}
  env:
    FLUTTER_VERSION: [3](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:3).16.9
    FLUTTER_ROOT: /opt/hostedtoolcache/flutter/stable-3.16.9-x6[4](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:4)
    PUB_CACHE: /opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache
Upgrading build.gradle
Running Gradle task 'assembleRelease'...                        
Checking the license for package Android Emulator in /usr/local/lib/android/sdk/licenses
License for package Android Emulator accepted.
Preparing "Install Android Emulator (revision: 34.2.1[5](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:5))".
"Install Android Emulator (revision: 34.2.15)" ready.
Installing Android Emulator in /usr/local/lib/android/sdk/emulator
"Install Android Emulator (revision: 34.2.15)" complete.
"Install Android Emulator (revision: 34.2.15)" finished.
Checking the license for package Android SDK Platform-Tools in /usr/local/lib/android/sdk/licenses
License for package Android SDK Platform-Tools accepted.
Preparing "Install Android SDK Platform-Tools (revision: 35.0.1)".
"Install Android SDK Platform-Tools (revision: 35.0.1)" ready.
Installing Android SDK Platform-Tools in /usr/local/lib/android/sdk/platform-tools
"Install Android SDK Platform-Tools (revision: 35.0.1)" complete.
"Install Android SDK Platform-Tools (revision: 35.0.1)" finished.
Checking the license for package Android SDK Tools in /usr/local/lib/android/sdk/licenses
License for package Android SDK Tools accepted.
Preparing "Install Android SDK Tools (revision: 2[6](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:6).1.1)".
"Install Android SDK Tools (revision: 26.1.1)" ready.
Installing Android SDK Tools in /usr/local/lib/android/sdk/tools
"Install Android SDK Tools (revision: 26.1.1)" complete.
"Install Android SDK Tools (revision: 26.1.1)" finished.
Checking the license for package Android SDK Build-Tools 30.0.3 in /usr/local/lib/android/sdk/licenses
License for package Android SDK Build-Tools 30.0.3 accepted.
Preparing "Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)".
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" ready.
Installing Android SDK Build-Tools 30.0.3 in /usr/local/lib/android/sdk/build-tools/30.0.3
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" complete.
"Install Android SDK Build-Tools 30.0.3 (revision: 30.0.3)" finished.
Checking the license for package Android SDK Platform 30 in /usr/local/lib/android/sdk/licenses
License for package Android SDK Platform 30 accepted.
Preparing "Install Android SDK Platform 30 (revision: 3)".
"Install Android SDK Platform 30 (revision: 3)" ready.
Installing Android SDK Platform 30 in /usr/local/lib/android/sdk/platforms/android-30
"Install Android SDK Platform 30 (revision: 3)" complete.
"Install Android SDK Platform 30 (revision: 3)" finished.
Note: /opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/android/src/main/java/net/nfet/flutter/printing/PrintingPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/raster.dart:85:44: Error: Type 'DecoderCallback' not found.
  ImageStreamCompleter load(PdfRaster key, DecoderCallback decode) {
                                           ^^^^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/widget_wrapper.dart:234:9: Error: Type 'ui.ViewConfiguration' not found.
  final ui.ViewConfiguration configuration;
        ^^^^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/widget_wrapper.dart:241:3: Error: Type 'ui.ViewConfiguration' not found.
  ui.ViewConfiguration get viewConfiguration => configuration;
  ^^^^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than those of overridden method 'File.create'.
  Future<File> create({bool recursive = false});
               ^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
  Future<File> create({bool recursive = false, bool exclusive = false});
               ^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' doesn't have the named parameter 'exclusive' of overridden method 'File.create'.
  Future<File> create({bool recursive = false});
               ^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
  Future<File> create({bool recursive = false, bool exclusive = false});
               ^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' has fewer named arguments than those of overridden method 'File.createSync'.
  void createSync({bool recursive = false}) =>
       ^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
  void createSync({bool recursive = false, bool exclusive = false});
       ^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' doesn't have the named parameter 'exclusive' of overridden method 'File.createSync'.
  void createSync({bool recursive = false}) =>
       ^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
  void createSync({bool recursive = false, bool exclusive = false});
       ^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/raster.dart:85:44: Error: 'DecoderCallback' isn't a type.
  ImageStreamCompleter load(PdfRaster key, DecoderCallback decode) {
                                           ^^^^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/widget_wrapper.dart:1[7](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:7)4:27: Error: Method not found: 'ViewConfiguration'.
        configuration: ui.ViewConfiguration(
                          ^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/widget_wrapper.dart:173:7: Error: No named parameter with the name 'window'.
      window: _FlutterView(
      ^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/packages/flutter/lib/src/rendering/view.dart:75:3: Context: Found this candidate, but the arguments don't match.
  RenderView({
  ^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/widget_wrapper.dart:232:3: Error: The superclass, 'FlutterView', has no unnamed constructor that takes no arguments.
  _FlutterView({required this.configuration});
  ^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/widget_wrapper.dart:234:[12](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:13): Error: 'ViewConfiguration' isn't a type.
  final ui.ViewConfiguration configuration;
           ^^^^^^^^^^^^^^^^^
/opt/hostedtoolcache/flutter/stable-3.16.9-x64/.pub-cache/hosted/pub.dev/printing-5.9.1/lib/src/fonts/font.dart:47:15: Error: 'AssetManifest' is imported from both 'package:flutter/src/services/asset_manifest.dart' and 'package:printing/src/fonts/manifest.dart'.
    if (await AssetManifest.contains(asset)) {
              ^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
* Where:
Script '/opt/hostedtoolcache/flutter/stable-3.16.9-x64/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: [13](https://github.com/hughware/Mathematics/actions/runs/9386339125/job/25846687664#step:5:14)50
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/opt/hostedtoolcache/flutter/stable-3.16.9-x64/bin/flutter'' 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
BUILD FAILED in 2m 12s
Running Gradle task 'assembleRelease'...                          133.5s
Gradle task assembleRelease failed with exit code 1
Error: Process completed with exit code 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant