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

../../../.pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes'). Future putImageBytes(Uint8List bytes, #1896

Open
1 task done
hina06botify opened this issue May 25, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@hina06botify
Copy link

Is there an existing issue for this?

The question

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

../../../.pub-cache/hosted/pub.dev/gal_linux-0.0.1/lib/src/gal_linux.dart:25:16: Error: The method 'GalPluginLinux.putImageBytes' has fewer named arguments than those of overridden method 'GalPlatform.putImageBytes'.
Future putImageBytes(Uint8List bytes, {String? album}) =>
^
../../../.pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes').
Future putImageBytes(Uint8List bytes,
^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/keval/Documents/development/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1419

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

Process 'command '/Users/keval/Documents/development/flutter/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.

BUILD FAILED in 10s
Error: Gradle task assembleDebug failed with exit code 1
how can solve this error bcoz my project not run after adding this package
flutter_quill: ^9.1.1
flutter_quill_extensions: ^9.1.1

@hina06botify hina06botify added the help wanted Extra attention is needed label May 25, 2024
@ellet0
Copy link
Collaborator

ellet0 commented May 25, 2024

Hi, can you provide more details about the title? how to reproduce, what is the expected and the actual behavior, and what version of Flutter? it's pointing to gal plugin

../../../.pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes').
Future putImageBytes(Uint8List bytes,
^

But still would like to get more information

@hina06botify
Copy link
Author

my flutter version is 3.19.3 and I'm trying to put an image in Quill editor but got this error:-
../../../.pub-cache/hosted/pub.dev/gal_linux-0.0.1/lib/src/gal_linux.dart:25:16: Error: The method 'GalPluginLinux.putImageBytes' has fewer named arguments than those of overridden method 'GalPlatform.putImageBytes'.
Future putImageBytes(Uint8List bytes, {String? album}) =>
^
../../../.pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes').
Future putImageBytes(Uint8List bytes,
^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/keval/Documents/development/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1419

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

Process 'command '/Users/keval/Documents/development/flutter/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.

BUILD FAILED in 44s
Error: Gradle task assembleDebug failed with exit code 1

@singerdmx
Copy link
Owner

Please fix the title

@hina06botify hina06botify changed the title error ../../../.pub-cache/hosted/pub.dev/gal-2.3.0/lib/src/gal_platform_interface.dart:23:16: Context: This is the overridden method ('putImageBytes'). Future putImageBytes(Uint8List bytes, May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants