Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Android launcher icon looks very small

I'm using the flutter_launcher_icons package to generate launcher icons for both Android and iOS. Everything looks great on iOS, but on Android the icon looks very tiny:

Android

It's the second one from the left. I've tried all kinds of things to get it to be bigger. I've tried several different source images to generate the icon, 512x512 and 900x900, but no matter what I do I can't get it to generate an icon as large as the others. I'm sure I'm missing something stupid here. This is my flutter_launcher_icons config:

flutter_icons:
  android: true
  ios: true
  image_path: "assets/icon/icon_new2.png"
like image 483
cloudwalker Avatar asked Oct 15 '22 11:10

cloudwalker


1 Answers

I would recommend you to use http://romannurik.github.io/AndroidAssetStudio/icons-launcher.html to generate your launcher icon : you'll be able to reduce padding to get an icon as big as possible. When you hit download, this will generate a zip archive containing a res folder with a subfolder for each size.

Let's then put manually the Android launcher icon : In your config, put android: false so the flutter_launcher_icons plugins stops generating icons for android, and paste your generated subfolders in yourproject/android/res

I encountered the same issue as you, looks like we followed the same tutorials/links.

EDIT : If you still encounter issues, this thread may help you (almost a duplicate) App Icon on Device is too small

like image 152
TBG Avatar answered Oct 21 '22 02:10

TBG