什么是ic_launcher-web.png在我的项目的根吗?我的、项目、ic_launcher、web

2023-09-06 01:28:25 作者:国际男王

令人难以置信的是,我无法找到答案谷歌搜索这个很基本的问题的时候!

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

我注意到,自从我从Eclipse的赫利俄斯升级到Eclipse朱诺和更新了Android SDK,Eclipse中放置一个名为ic_launcher-web.png在每当我创建一个新的Andr​​oid项目工程的根文件。该文件是一样的,在项目创建对话框中选择的应用程序图标,但它有什么作用?如前所述,这是在项目的根,没有任何的/ RES /文件夹。因此,它是包含在最终的.apk文件,什么是它的目的是什么?

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?

推荐答案

这对Play商店,它接受512 * 512的高分辨率图标:

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

  在高分辨率应用程序图标(必需):      使用:在谷歌不同的地点播放   规格:512 * 512,32位PNG格式的alpha; 1024KB的最大尺寸。    High Resolution Application Icon (Required): Use: In various locations in Google Play. Specs: 512x512, 32-bit PNG with alpha; Max size of 1024KB.

--谷歌支持

(如解释更教程,可以发现here.)

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

有未在实际的应用程序或启动程序使用,所以它不会在APK包装

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