booleanbites / houzi-support

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

app icon/image is not changed #56

Closed zaidshakhshir closed 1 year ago

zaidshakhshir commented 1 year ago

I tried to modify the icon from pubspec.yaml and then i executed

flutter pub get
flutter pub run flutter_launcher_icons:main

also i did some changed in android resources for background color but the icon not changed only background color in addition to that the icon in splash screen didn't change

zaidshakhshir commented 1 year ago

i found the following msgs while running the app

Warning: Errors limit exceeded. To receive all errors set com.sun.xml.bind logger to FINEST level.
Warning: unexpected element (uri:"", local:"extension-level"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>

and here is a screenshot for the icon problem

image

AdilSoomro commented 1 year ago

For Android Icon, we follow the more modern icon approach called Adaptive Icon. (I guess it was a mistake, we should have used the legacy option, because people don't bother reading the documentation) To delete adaptive icon, please delete or rename file at below path:

PROJECT_HOME / android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

When you delete this file, it'll also change the splash screen on modern mobiles.

Otherwise please please read through all of the documented info here:

  1. Changing app icon (Don't forget to read adaptive icon section.
  2. Changing Splash screen
zaidshakhshir commented 1 year ago

it works now i'm very sorry but i'm trying to understand the whole solutions