81

Unbelievably enough, I couldn't find an answer when Googling for this very basic question!

I noticed that since I upgraded from Eclipse Helios to Eclipse Juno and updated the Android SDK, Eclipse places a file called ic_launcher-web.png in the project root whenever I create a new Android project. The file is the same as the application icon selected in the project creation dialog, but what does it do? As mentioned, it's in the project root, not in any of the /res/ folders. So is it included in the finished .apk file, and what is it's purpose?

4 Answers 4

105

It's for the Play Store, which accepts 512x512 high-resolution icons:

  • High Resolution Application Icon (Required):
    • Use: In various locations in Google Play.
    • Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB.

-- Google Support

(A more tutorial like explanation can be found here.)

It is not used in your actual app or the launcher, so it is not packaged in the APK.

4
  • 15
    Yes I confirm that this icon is not present in final APK file. It is automatically placed by Android SDK for you not to forget to create high-res icon for publishing. It is absolutely safe to remove this file.
    – keaukraine
    Jan 21, 2013 at 8:36
  • 1
    Seriously, click on the link! It's a great tutorial. Thanks Eric for helping me find that gem of a site May 30, 2014 at 1:00
  • The link you provided is not available anymore. Can you update your references?
    – jfmg
    May 24, 2019 at 9:27
  • 1
    @jfmg Updated it.
    – Cat
    May 24, 2019 at 16:22
2

This is the icon for the google play store. You need to provide a 512 x 512 icon.

2

There is a little bit of an explanation here on this page:

http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html#size

-1

If you keep this file make sure to change it to duplicate your regular launcher file. You manually add the regular launcher file to the play site when submitting your project anyway so the extra web launcher file may not be needed. My first project never had one.

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.