【发布时间】:2019-10-06 14:26:45
【问题描述】:
我需要有关依赖项 flutter_launcher_icons 的帮助:^0.7.0, 我希望从 in.png 中的图像向我的应用程序插入一个图标
使用旧程序,该命令可以完美运行。 我更改了文件夹,创建了一个新的 Flutter 项目,但没有任何效果。 我也做了一个干净的flutter,没有成功
我执行了颤振医生-v,一切都很好。
如果格式不完美,请原谅,这是我在这里问的第一个问题
提前感谢您的帮助
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:207:45:错误:Getter not发现:“平均”。 newFile = copyResize(image, e.size, -1, AVERAGE); ^^^^^^^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:207:25:错误:太多位置参数:允许 1 个,但找到 4 个。 尝试删除额外的位置参数。 newFile = copyResize(image, e.size, -1, AVERAGE); ^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.0/lib/src/transform/copy_resize.dart:14:7:背景:找到了这个候选人,但论据不匹配。 Image copyResize(Image src, {int width, int height, ^^^^^^^^^^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:209:45:错误:Getter not发现:“线性”。 newFile = copyResize(image, e.size, -1, LINEAR); ^^^^^^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:209:25:错误:太多位置参数:允许 1 个,但找到 4 个。 尝试删除额外的位置参数。 newFile = copyResize(image, e.size, -1, LINEAR); ^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.0/lib/src/transform/copy_resize.dart:14:7:背景:找到了这个候选人,但论据不匹配。 Image copyResize(Image src, {int width, int height, ^^^^^^^^^^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:223:63:错误:Getter not发现:“平均”。 newFile = copyResize(image, template.size, template.size, AVERAGE); ^^^^^^^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:223:25:错误:太多位置参数:允许 1 个,但找到 4 个。 尝试删除额外的位置参数。 newFile = copyResize(image, template.size, template.size, AVERAGE); ^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.0/lib/src/transform/copy_resize.dart:14:7:背景:找到了这个候选人,但论据不匹配。 Image copyResize(Image src, {int width, int height, ^^^^^^^^^^
file:///E:/NexToYou/Google/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_launcher_icons-0.7.0/lib/android.dart:226:63:错误:Getter not发现:“线性”。 newFile = copyResize(image, template.size, template.size, LINEAR); ^^^^^^
发布结束,退出代码为 1enter image description here
【问题讨论】:
-
“使用旧程序”是什么意思?
-
“旧程序”是指一两周前的程序
标签: flutter dependencies