Closed avitor12 closed 1 year ago
name: houzi_package description: A new Flutter package. version: 0.0.1 publish_to: none
dev_dependencies: flutter_launcher_icons: "0.9.2"
flutter_icons: android: "launcher_icon" ios: true image_path: "assets/icon/icon.png" min_sdk_android: 21 # android min sdk min:16, default 21 web: generate: true image_path: "assets/icon/icon.png" background_color: "#hexcode" theme_color: "#hexcode" windows: generate: true image_path: "assets/icon/icon.png" icon_size: 48 # min:48, max:256, default: 48 macos: generate: true image_path: "assets/icon/icon.png"
environment:
sdk: '>=2.18.2 <3.0.0' flutter: ">=1.17.0"
dependencies: flutter: sdk: flutter animate_icons: 2.0.0 autocomplete_textfield: 2.0.1 build_runner: 2.1.4 cupertino_icons: 1.0.4 date_time_picker: 2.1.0 dio: 4.0.3 dio_cache_interceptor: 3.0.2
expandable: 5.0.1 fancy_shimmer_image: 2.0.2
flutter_dialogs: 2.1.1
flutter_rating_bar: 4.0.0 flutter_staggered_grid_view: 0.4.1 flutter_uploader: 3.0.0-beta.4
flutter_widget_from_html: 0.8.2 fluttertoast: 8.0.8 flutter_local_notifications: 9.3.2 location: 4.4.0 geolocator: 7.7.1
flutter_facebook_auth: 4.1.1 html_unescape: 2.0.0 hive_flutter: 1.1.0 hive: 2.2.3 hive_generator: 1.1.1 image_picker: 0.8.6+4
intl: 0.17.0 loading_gifs: 0.3.0 loading_indicator: 3.0.2 material_segmented_control: 3.1.2 path: 1.8.2 path_provider: 2.0.7 package_info_plus: 1.3.0 pie_chart: 5.1.0 provider: 6.0.1 pull_to_refresh: 2.0.0
shimmer: 2.0.0 sliding_up_panel: 2.0.0+1 smooth_page_indicator: 1.0.0+2 timeago: 3.2.0 toggle_switch: 1.3.0 url_launcher: 6.0.15 webview_flutter: 2.3.1 shared_preferences: 2.0.13
sign_in_with_apple: 3.3.0 crypto: 3.0.1 google_mobile_ads: 2.2.0 app_tracking_transparency: 2.0.2+4 carousel_slider: 4.0.0
share_plus: 4.1.0 google_maps_cluster_manager: 3.0.0+1
pinput: 2.2.23
intl_phone_number_input: 0.7.1 intl_phone_field: 3.1.0
firebase_core: 2.1.1 firebase_analytics: 10.0.4 firebase_auth: 4.1.1 google_maps_flutter: 2.2.1 google_sign_in: 5.4.2
dev_dependencies: flutter_test: sdk: flutter flutter_lints: 1.0.0
flutter:
uses-material-design: true
i try also with this but now icon showing
name: houzi_package description: A new Flutter package. version: 0.0.1 publish_to: none
flutter_icons: android: "launcher_icon" ios: true image_path: "assets/icon/icon.png" min_sdk_android: 21 # android min sdk min:16, default 21 web: generate: true image_path: "assets/icon/icon.png" background_color: "#hexcode" theme_color: "#hexcode" windows: generate: true image_path: "assets/icon/icon.png" icon_size: 48 # min:48, max:256, default: 48 macos: generate: true image_path: "assets/icon/icon.png"
environment:
sdk: '>=2.18.2 <3.0.0' flutter: ">=1.17.0"
dependencies: flutter: sdk: flutter animate_icons: 2.0.0 autocomplete_textfield: 2.0.1 build_runner: 2.1.4 cupertino_icons: 1.0.4 date_time_picker: 2.1.0 dio: 4.0.3 dio_cache_interceptor: 3.0.2
expandable: 5.0.1 fancy_shimmer_image: 2.0.2
flutter_dialogs: 2.1.1
flutter_rating_bar: 4.0.0 flutter_staggered_grid_view: 0.4.1 flutter_uploader: 3.0.0-beta.4
flutter_widget_from_html: 0.8.2 fluttertoast: 8.0.8 flutter_local_notifications: 9.3.2 location: 4.4.0 geolocator: 7.7.1
flutter_facebook_auth: 4.1.1 html_unescape: 2.0.0 hive_flutter: 1.1.0 hive: 2.2.3 hive_generator: 1.1.1 image_picker: 0.8.6+4
intl: 0.17.0 loading_gifs: 0.3.0 loading_indicator: 3.0.2 material_segmented_control: 3.1.2 path: 1.8.2 path_provider: 2.0.7 package_info_plus: 1.3.0 pie_chart: 5.1.0 provider: 6.0.1 pull_to_refresh: 2.0.0
shimmer: 2.0.0 sliding_up_panel: 2.0.0+1 smooth_page_indicator: 1.0.0+2 timeago: 3.2.0 toggle_switch: 1.3.0 url_launcher: 6.0.15 webview_flutter: 2.3.1 shared_preferences: 2.0.13
sign_in_with_apple: 3.3.0 crypto: 3.0.1 google_mobile_ads: 2.2.0 app_tracking_transparency: 2.0.2+4 carousel_slider: 4.0.0
share_plus: 4.1.0 google_maps_cluster_manager: 3.0.0+1
pinput: 2.2.23
intl_phone_number_input: 0.7.1 intl_phone_field: 3.1.0
firebase_core: 2.1.1 firebase_analytics: 10.0.4 firebase_auth: 4.1.1 google_maps_flutter: 2.2.1 google_sign_in: 5.4.2
dev_dependencies: flutter_test: sdk: flutter flutter_lints: 1.0.0
flutter:
uses-material-design: true
You are adding it to wrong pubspec. Remove these from the pubspec. Use the one pubspec that is on first level. At this path:
Project_Home / pubspec.yaml
Also, you don't need to add this, it is already there. You just need to place your icon at following path:
Project_home / assets / icon / icon.png
Then run command in terminal window in android studio.
i rum this commands flutter pub get flutter pub run flutter_launcher_icons:main
thanks for helping me
Use an image with background. Your image doesn't have any background.
no change make white BG and re run flutter pub get flutter pub run flutter_launcher_icons:main
Delete following file:
PROJECT_HOME / res / mipmap-anydpi-v26 / ic_launcher.xml
get this error when try run
244753325 anydesk
okkkkk bro is work. now is showing icon
but have some new issue in other files that not have before.
hi i follow the instructions on documentation buy can't succeed. please. resolved all issues and before publishing the app need this last help.
if anyone connect to my pc with anydesk thanks