
Here’s one that we can use, imagine it’s a camera application: Now that we’ve got a Flutter project, we’ll need a logo to set as an icon. We can then ensure we have the latest packages in our project by running: $ flutter pub get

Head over to your pubspec.yaml and add the following plugin to our dev_dependencies: dev_dependencies : flutter_launcher_icons : ^0.7.4 Creating a new Flutter projectĪs always, we’ll start off by setting up a new project and adding the plugin: # New Flutter project To see how this works yourself, boot up your current Flutter project or follow along with the demonstration below. I initially went ahead and set my icons with Xcode and Android Studio, but after finding the flutter_launcher_icons plugin - I’ll never need to do this manually again!

This is just an example, you could be any icon asset file format. Delete ic_ and ic_launcher_foreground.xml in drawable folder.Delete all existing icon assets in Android Studio The following example is based on the new project template from Android Studio.ġ.

This assumes you already have the icon asset and would like to import that you into your app using Android Studio. This article was originally published at on Jan 1, 2022. How to add new icon asset to your Android App using Asset Studio in Android Studio?
