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

编译报错 #64

Open
lkkz opened this issue Jan 6, 2020 · 2 comments
Open

编译报错 #64

lkkz opened this issue Jan 6, 2020 · 2 comments

Comments

@lkkz
Copy link

lkkz commented Jan 6, 2020

Compiler message:
../../../.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.0/lib/src/cached_network_image_provider.dart:42:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
ImageStreamCompleter load(CachedNetworkImageProvider key) {
^
../../../me/flutter/googleflutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
ImageStreamCompleter load(T key, DecoderCallback decode);
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
Failed to build bundle.
Error launching application on iPhone 11 Pro Max.

@wenweih
Copy link

wenweih commented Feb 28, 2020

update flutter_cache_manager and cached_network_image to latest version:
image

@NoraGithub
Copy link

update flutter_cache_manager and cached_network_image to latest version:
image

how to upgrade ?which command?

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

3 participants