因此,我正在尝试用我的图标更改默认的颤动启动器图标。我正在使用flutter_launcher_icons: ^0.9.2pub.dev 。 \npubspec.yaml 中的代码:
dependencies:\n flutter:\n sdk: flutter\n\n\n # The following adds the Cupertino Icons font to your application.\n # Use with the CupertinoIcons class for iOS style icons.\n cupertino_icons: ^1.0.2\n hexcolor: ^2.0.5\n google_fonts: ^2.1.0\n flutter_neumorphic: ^3.2.0\n flutter_launcher_icons: ^0.9.2\n\ndev_dependencies:\n flutter_lints: ^1.0.4\n flutter_test:\n sdk: flutter\n\nflutter_icons:\n image_path: "assets/icon/icon.png"\n android: true\n ios: true\nRun Code Online (Sandbox Code Playgroud)\n但是当我运行时flutter pub run flutter_launcher_icons:main,我收到错误消息:
\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\n FLUTTER LAUNCHER ICONS (v0.9.1)\n \xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\xe2\x95\x90\n\n\n\xe2\x9c\x93 Successfully generated launcher icons\nUnhandled exception:\nFormatException: Invalid number (at character 1)\n\n^\n\n#0 int._handleFormatError (dart:core-patch/integers_patch.dart:129:7)\n#1 …Run Code Online (Sandbox Code Playgroud) 谁能告诉我如何获取 android 12 google Pixel 6 和 6 Pro 模拟器皮肤进行开发?我在互联网上找不到任何解决方案,因此提出了堆栈溢出的问题。