Home > database >  Flutter flutter_launcher_icons error: pub finished with exit code 255
Flutter flutter_launcher_icons error: pub finished with exit code 255

Time:01-08

I want to create my launcher icon for flutter. My config (pubspec.yaml) looks the following.

...
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2
  flutter_spinkit: ^5.1.0
  url_launcher: ^6.0.17
  http: ^0.13.4
  intl: ^0.17.0
  flutter_launcher_icons: ^0.9.2

flutter_icons:
  android: true
  ios: true
  image_path: "assets/logo_blue.png"
...

I installed the flutter_launcher_icon via the console (flutter pub add flutter_launcher_icons). Afterwards I added the config (see above) to the pubspec.yaml file and entered the following two commands in the console:

flutter pub get
flutter pub run flutter_launcher_icons:main

as described in the documentation (example

  •  Tags:  
  • Related