4
votes

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"
2
I tried that guide as well, but the result is the same. Looks great on iOS, but on Android the icon is very small.cloudwalker
@cloudwalker Did you ever get it figured out?JMP

2 Answers

3
votes

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

0
votes

For all the flutter android projects, for those who are still facing issues after generating icons from here, http://romannurik.github.io/AndroidAssetStudio/icons-launcher.html follow the below steps,

  1. Open your flutter project in Android Studio
  2. Select the android folder and Right click
  3. Select the option flutter->Open Android Module in Android Studio ( open in new window)
  4. It will take a while, once its done, in the android project, right click on res->drawable folder, and create new image asset
  5. Create the launcher icons using your image in this android studio wizard.

Once the launcher icons are created, build your apk or app bundle asusual from your flutter project. It should work fine now.