fluttercommunity / fluttercommunity/flutter_launcher_icons

RangeError

Open
#615 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Dart
Stars
2.1k
Forks
426
PR merge metrics
No merged PRs in 30d

Description

### :information_source: Info
Version 0.14.1

### :speech_balloon: Description
PS D:\FlutterProj\talalaeva> flutter pub run flutter_launcher_icons
Deprecated. Use `dart run` instead.
════════════════════════════════════════════
FLUTTER LAUNCHER ICONS (v0.14.1)
════════════════════════════════════════════

• Creating default icons Android
• Adding a new Android launcher icon
• Creating mipmap xml file Android

✕ Could not generate launcher icons
RangeError (length): Invalid value: Not in inclusive range 0..863: 1020

### :scroll: Pubspec.yaml
flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/mainicon.png"
image_path_ios: "assets/mainicon.png"
remove_alpha_ios: true

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the reported flutter_launcher_icons configuration and assets/mainicon.png, using the package's documented entry point. Trace the Android icon-generation step that reports the RangeError, then verify that launcher icons generate successfully for the requested Android and iOS targets without the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.