Rebuild or regenerate 'ic_launcher.png' from images in Android Studio

Dave picture Dave · Jun 28, 2013 · Viewed 232k times · Source

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 images for use as a launcher-icon.

My question is: So, if one already has an existing project created, is there someplace to tell the Studio to re-generate 4 NEW such files, by just re-pointing it elsewhere, to some other .PNG?

It occurred to me that I could start a new project and then manually copy all the other files developed so far, such as the .JAVA and .XML files, etc, but that seems like a lot of work (that I hope won't be necessary).

Answer

LazarusX picture LazarusX · Jan 27, 2014

For Android Studio 0.4.0 and later, click "File > New > Image Asset".