flutter - 启动器图标未插入颤振
问题描述
在pubspec.yaml中检测到 pubspec.yaml:第 18 行第 28 列出错:此处不允许映射值。你之前错过了一个冒号吗?╷ 18 │ flutter_launcher_icons: "^0.7.3"
dev_dependencies:
flutter_test:
sdk: flutter
flutter_launcher_icons: "^0.7.3"
解决方案
我在你的代码中看不到 18 行,所以不能说确切的问题,但在我的建议中,你可以使用像flutter_launcher_icons: ^0.7.5
我已经像这样使用我的代码,
dev_dependencies:
image: ^2.1.14
flutter_test:
sdk: flutter
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter_launcher_icons: ^0.7.5
我还添加了image:^2.1.14
依赖项
虽然我不知道它的重要性你也可以试试这个
推荐阅读
- sql - Coldfusion 服务器时间与 SQL 数据库服务器时间(问题)
- python - Odoo - 浮动字段不在树视图上显示值
- reactjs - NextJS (React) - 错误:无效的钩子调用 (useState)
- arrays - 为什么链接列表中的删除和插入比arraylist更快?
- python - 两种时间格式有什么区别?
- mysql - 如果条件在rails中失败,删除一些记录然后回滚
- php - implode():不推荐使用数组后传递胶水字符串。交换参数
- c# - Xamarin 中是否存在某种不规则网格?
- javascript - 当涉及选项卡时,是否对从我的 React JS 站点复制/粘贴到 excel 的行为感到困惑?
- javascript - 无法映射来自 API 的数据