eclipse 如何更改APK图标?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12985863/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:13:59  来源:igfitidea点击:

How to change the APK icon?

androideclipseiconsapk

提问by Sinoair

I use Eclipse to code Android apps.

我使用 Eclipse 来编写 Android 应用程序。

And when I put a apk file in the cell, the APK icon is always show as a box icon.

当我将 apk 文件放入单元格时,APK 图标始终显示为框图标。

How to change the APK icon?

如何更改APK图标?

Thank you.

谢谢你。

采纳答案by Mahdi Giveie

In The left side of Eclipse u can see Project Explorer ! open your project at almost end of it there is a file called AndroidManifest.xml, just open it and choose Application Tab and then choose your icon , dont forget to put your App Icon ( *.png) in Res >> drawable-hdpi

在 Eclipse 的左侧,您可以看到 Project Explorer !在几乎结束时打开您的项目,有一个名为 AndroidManifest.xml 的文件,只需打开它并选择应用程序选项卡,然后选择您的图标,不要忘记将您的应用程序图标(*.png)放在 Res >> drawable-hdpi 中

回答by Aamirkhan

Goto Manifest File,in application tag give icon of application whatever you want as below

转到清单文件,在应用程序标签中给出任何你想要的应用程序图标,如下所示

android:icon="@drawable/ic_launcher"

here ic_launcher is my application icon,you can give any icon as per your requirnment.

这里 ic_launcher 是我的应用程序图标,您可以根据您的要求提供任何图标。

回答by Sourabh Saldi

in your manifest file change the launcher icon of main activity(launcher activity) change icon

在您的清单文件中更改主活动的启动器图标(启动器活动)更改图标

<application android:icon="@drawable/icon">

by default it takes ic_launcher change it to your icon

默认情况下,需要 ic_launcher 将其更改为您的图标

回答by jeet

Check android manifest file, check for android:icon tag, and change it to new image.

检查 android manifest 文件,检查 android:icon 标签,并将其更改为新图像。

回答by Akshay

You can change the icon of APK in your AndroidMenifest.xmlfile under ApplicationTag.Like mention below.

您可以AndroidMenifest.xmlApplicationTag下的文件中更改 APK 的图标。如下所述。

<application android:icon="@drawable/Your_App_Logo">

回答by Raghunandan

Include this in your android manifest file android:icon="@drawable/yourdrawable". Make sure you have the image in your drawable folder.

将此包含在您的 android 清单文件 android:icon="@drawable/yourdrawable" 中。确保您的可绘制文件夹中有图像。

回答by satish

  1. Open AndroidManifest.xml
  2. Change application android:icon="@drawable/your_logeHere"
  1. 打开 AndroidManifest.xml
  2. 更改申请 android:icon="@drawable/your_logeHere"