


Create following four files as your icon files in "./resources/android/icon" folder: Make the background as transparent as original "icon-foreground.png" file has.Ĥ. And rename those files as "icon-background.png" and "icon-foreground.png".Ĭ. You can copy and paste your "icon.png" file from "./resources" two times.ī. Replace "icon-background.png" and "icon-foreground.png" files in "./resources/android" with your files.Ī. # This will be the splash image of your app.ģ. # The size of splash.png should be same as 2732*2732 Replace "splash.png" file in "./resources" with your "splash.png". # The size of icon.png should be same as 1024*1024Ģ. Replace "icon.png" file in "./resources" with your "icon.png". # You will get the folders of icons and splash images in "/platforms/android/app/src/main/res" folder.ġ. # At this step, you will get the icons and splash images generated for each android phone. Simply right click on your application module and click New -> Image Asset.įor the icon type select either "Launcher Icons (Legacy Only)" for flat PNG files or "Launcher Icons (Adaptive and Legacy)" if you also want to generate an adaptive icon for API 26+ devices.Here is my documentation regarding the solution. Android will better preserve the resolution of drawables in the mipmap folder for display in launcher applications.Īndroid Studio note: If you are using Android Studio you can let studio place the drawables in the correct place for you. If the value is then the name of the icon is ic_launcher.png.įind this icon in your resource folders ( res/mipmap-mdpi, res/mipmap-hdpi, etc.) and replace it.Ī note on mipmap resources: If your launcher icon is currently in drawable folders such as res/drawable-hdpi, you should move them to the mipmap equivalents (e.g. This application tag has an android:icon attribute, which is usually value here is the name of the launcher icon file. Look in the application's AndroidManifest.xml file for the tag.
