-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Gradle task assembleFossDebug failed with exit code 1 #47239
Comments
Hi @kamrancr7 [ +1 ms] Compiler message:
[ ] [ +1 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.7.3/lib/src/layer/tile_provider/tile_provider.dart:3:8: Error: Error when reading
'/C:/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-1.1.3/lib/cached_network_image.dart': The system cannot find the path specified.
[ +1 ms] [ ] import 'package:cached_network_image/cached_network_image.dart';
[ ] [ ] ^
[+1095 ms] [+1109 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.7.3/lib/src/layer/tile_provider/mbtiles_image_provider.dart:90:24: Error: The method
'MBTileImage.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'.
[ +1 ms] [ ] ImageStreamCompleter load(MBTileImage key) {
[ ] [ ] ^
[ ] [ ] /C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
[ ] [ ] ImageStreamCompleter load(T key, DecoderCallback decode);
[ ] [ ] ^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_image-2.0.0/lib/network.dart:73:24: Error: The method 'NetworkImageWithRetry.load' has fewer
positional arguments than those of overridden method 'ImageProvider.load'.
[ +1 ms] [ ] ImageStreamCompleter load(NetworkImageWithRetry key) {
[ ] [ ] ^
[ ] [ ] /C:/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load').
[ ] [ ] ImageStreamCompleter load(T key, DecoderCallback decode);
[ ] [ ] ^
[+3499 ms] [+3554 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.7.3/lib/src/layer/tile_provider/tile_provider.dart:51:12: Error: The method
'CachedNetworkImageProvider' isn't defined for the class 'CachedNetworkTileProvider'.
[ +2 ms] [ ] - 'CachedNetworkTileProvider' is from 'package:flutter_map/src/layer/tile_provider/tile_provider.dart'
('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_map-0.7.3/lib/src/layer/tile_provider/tile_provider.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'CachedNetworkImageProvider'.
[ ] [ ] return CachedNetworkImageProvider(getTileUrl(coords, options));
[ ] [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^
[+3797 ms] [+3740 ms] Persisting file store
[ +9 ms] [ +6 ms] Done persisting file store
[ +1 ms] [ +1 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[ +2 ms] build failed. the issue might be related to the 3rd party plugin cached_network_image, you may want to open an issue on the dedicated github |
@iapicca Thanks for your reply.
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
After upgrading Flutter from 1.9.7 to v1.12.13+hotfix.5 my application build failed. following is the complete log:
logs
and when i open application in android module then it gives me the following error:
org.gradle.process.internal.ExecException: Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
The text was updated successfully, but these errors were encountered: