How to change the default icon of Android App
In order to get the app published in stores like Google Play Store, Amazon App Store, etc or if you just want to personalize the app, the default icon can be changed.
We can change the icon of the Android App by using the Android Studio itself and by following the below steps:
Open your Android Studio project and make sure that your Project is of the type Android.If it is not Android then select Android from the drop-down list. This is not necessary but will make it easier to search for the files and directories needed.
Make sure that the image of the icon is already present on the computer.Find the path of the image. Here, the file named gfgLogo is present in our Downloads folder. If we can’t find an icon for our app and also are unable to design one, then we can look for them in Flaticon or Material.io. However we must note that the former has icons designed by other designers and we need to give attribution to the respective designer when using it.
Now once we have our icon at the desired location and we know the path, right click on the mipmap directory and then click on New and choose Image Asset from the drop-down menu. The order of actions would be:
mipmap(Right click) > New > Image Asset
Now the following window will open once we click on Image Asset:
Give the location to the image icon in Path under Source Asset. In our example, the Path is:
If required, the image can be resized using the Resize option or change the color of our logo by heading to the Background Layer option. Once all the required changes are made, we will click on the Next button and then on Finish and then the icon of the app will be changed!