booleanbites / houzi-support

Support forum repo for issues & bugs reported for Houzi Flutter App.
4 stars 0 forks source link

i try but can't make the app icon to work #50

Closed avitor12 closed 1 year ago

avitor12 commented 1 year ago

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

avitor12 commented 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

dio_http_cache: 0.3.0

expandable: 5.0.1 fancy_shimmer_image: 2.0.2

firebase_messaging: 13.0.2

flutter_dialogs: 2.1.1

flutter_launcher_icons: 0.9.2

flutter_rating_bar: 4.0.0 flutter_staggered_grid_view: 0.4.1 flutter_uploader: 3.0.0-beta.4

flutter_uploader: 1.2.1

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

image_picker: 0.8.5+3

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

share: 2.0.4

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

===== IMPORTANT =====

use 2.2.11 if flutter version < 3.7.0

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:

The following line ensures that the Material Icons font is

included with your application, so that you can use the icons in

the material Icons class.

uses-material-design: true

Screenshot 2023-04-04 041411

avitor12 commented 1 year ago

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

dio_http_cache: 0.3.0

expandable: 5.0.1 fancy_shimmer_image: 2.0.2

firebase_messaging: 13.0.2

flutter_dialogs: 2.1.1

flutter_launcher_icons: 0.9.2

flutter_rating_bar: 4.0.0 flutter_staggered_grid_view: 0.4.1 flutter_uploader: 3.0.0-beta.4

flutter_uploader: 1.2.1

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

image_picker: 0.8.5+3

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

share: 2.0.4

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

===== IMPORTANT =====

use 2.2.11 if flutter version < 3.7.0

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:

The following line ensures that the Material Icons font is

included with your application, so that you can use the icons in

the material Icons class.

uses-material-design: true

AdilSoomro commented 1 year ago

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.

avitor12 commented 1 year ago

i rum this commands flutter pub get flutter pub run flutter_launcher_icons:main

Screenshot 2023-04-04 154759 Screenshot 2023-04-04 154625 thanks for helping me

AdilSoomro commented 1 year ago

Use an image with background. Your image doesn't have any background.

avitor12 commented 1 year ago

Screenshot 2023-04-05 005054

no change make white BG and re run flutter pub get flutter pub run flutter_launcher_icons:main

AdilSoomro commented 1 year ago

Delete following file:

PROJECT_HOME / res / mipmap-anydpi-v26 / ic_launcher.xml

avitor12 commented 1 year ago

Screenshot 2023-04-05 012439

get this error when try run

avitor12 commented 1 year ago

244753325 anydesk

avitor12 commented 1 year ago

okkkkk bro is work. now is showing icon

but have some new issue in other files that not have before.

avitor12 commented 1 year ago

Screenshot 2023-04-05 014108