fluttercommunity / fluttercommunity/flutter_launcher_icons

[BUG] Unable to create icon

Open
#507 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
426
PR merge metrics
No merged PRs in 30d

Description

### :information_source: Info
Version: `v0.13.1`

### :speech_balloon: Description

Having trouble to run the this plugin. I had tried to use the command "flutter pub run flutter_launcher_icons" and "flutter pub run flutter_launcher_icons:main " after pub get, but it triggers an error of
"Deprecated. Use `dart run` instead.
Could not find bin\main.dart in package flutter_launcher_icons."
Had tried flutter clean and pub get again but does not help.
No sure I get the incorrect command or something else went wrong.

### :scroll: Pubspec.yaml

name: Example
description: Example code for flutter launcher icons
publish_to: 'none'

version: 1.0.0+1

environment:
sdk: '>=3.0.5 <4.0.0'

dependencies:
flutter:
sdk: flutter

cupertino_icons: ^1.0.2
webview_flutter: ^4.2.2
url_launcher: ^6.1.11
flutter_native_splash: ^2.3.1
flutter_launcher_icons: ^0.13.1
image_picker: ^1.0.0
local_auth: ^2.1.6
mobile_scanner: ^3.3.0

flutter_launcher_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon.png"
min_sdk_android: 21

dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^2.0.0

flutter:
uses-material-design: true
assets:
- assets/retry.html

flutter_native_splash:
color: "#ff9e18"
image: assets/icon.png

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported commands with the provided pubspec.yaml and flutter_launcher_icons v0.13.1, beginning with the package command entry point referenced by the error. Compare the available invocation with the package documentation and verify that the documented command completes and generates the configured Android and iOS icons.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.