[BUG] Unable to create icon
daphneyong11 opened this issue · comments
ℹ️ Info
Version: v0.13.1
💬 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.
📜 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
Had the same issue.