When one first creates a new project, that dialog lets you point to some external .PNG file, and then when that dialog completes, it generates 4 different pixel-sizes of ima
the answers above were confusing to me. Here is what i did:
the first field "Asset type" must be launcher icons. browse to the file you want as icon, select it and android studio will show you in the same window what it will look like under different resolutions.
choose a different name for it, click next. Now the icon set for all those hdpi, xhdpi, mdpi will be in corresponding mipmap folders
finally, most importantly go to your manifest file and change "android:icon" to the name of your new icon image.
No, but you can do this almost as easily.
Go here:
https://romannurik.github.io/AndroidAssetStudio/
Build your icons using that page, and then download the zip package. Unzip it into the right directory and it'll overwrite all the drawable-*/ic_launcher.png correctly.
On Android Studio 0.5.8 I managed to change my icon set by right clicking on the 'res' folder and selecting New > Image Asset. This brings you to the icon screen you are presented when creating the application, here after you change the icon it confirms that it will replace all the icons. Confirm and done.
Use the website mentioned in previous posts to create the icons:http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html Unzip folder and Go into you file explorer on (windows or mac) find AndroidStudioProjects > "app name" > app > src > main (replace the web one here)> res (replace the rest with the one from the unzipped folder the you already downloaded)
*Close android studio so that you can make changes and when android studio is opened again the changes will appear
For Android 3+:
In the Project window, select the Android view.
Right-click the res folder and select New > Image Asset.
If your app supports Android 8.0, create adaptive and legacy launcher icons.
If your app supports versions no higher than Android 7.1, create a legacy launcher icon only.
In the Icon Type field, select Launcher Icons (Legacy Only) .
Select an Asset Type, and then specify the asset in the field underneath.
I can confirm that in Android Studio 1.x (here AS) on Windows also the right sequence is:
This can be done absolutely in any moments after creation of the project.
Android Studio warns you that it will overwrite the current ic_launcer, but this is exactly what we expect to do.