Disclaimer: This article is HaiyuKing original article, please indicate the source!
Outline
Android Studio after the new project will have a default icon, icon how to replace it?
Replace icon
This program is not recommended to replace the icon directly on an existing project, it is recommended to create a new blank project, and designed to replace the icon, then mipmap-xxxx directory containing the new icon of coverage to the project.
app right --New - Image Asset
Select the foreground icon and adjust to the appropriate size to a safe area
Select the background icon or set the background color can be used [default]
Select the background icon
Set the background color
Next——Finish
Delete Cache build - recompile
Sometimes the following error: they did not know how to solve.
Replace the front and rear renderings
note
Some mobile phone brands because the cache or something, if developed APP installed before re-setting icon on the phone after the icon may not change.
Uninstall APP, rerun the installation;
Uninstall APP, restart the phone and re-run the installation;
Uninstall APP, mobile phone housekeeper clean the cache, restart the phone, run the installer again.
Reference material
AndRoid studio creation APP icon