2

我通过复制从https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html生成的“res”文件夹更改了 android 应用程序的图标

但最近我将我的 android studio 更新为 2.2 preview 4 。当我按照上面提到的相同程序更改应用程序图标时,图标并没有改变它仍然是默认的 android 图标的方式

我试过的东西是

  1. 在 res 文件夹中搜索 ic_launcher.png 并确保除了我制作的自定义文件之外没有其他文件。
  2. 重新启动了项目。
4

4 回答 4

0

当我将 ic_launcher.png 重命名为 ic_launcher1.png 时它起作用了

于 2016-07-08T12:33:05.673 回答
0

如果使用 android studio,您可以在 mipmap 中找到 ic_launcher 的所有图像,如果使用 eclipse,则可以在 drawable 中找到,或者您也可以进入清单文件并从名为 icon 的应用程序标记更改应用程序图标

于 2016-07-08T12:45:15.573 回答
0

将您的图像添加到 res 文件夹中去 mipmap 打开它,点击去图像资源并选择那里的图像并从它的位置中选择它,去图像位置然后选择它,刚刚将图像添加到 res 文件夹并选择它的从 xxxhdpi.png, xxhdpi.png xhdpi.png hdpi.png 输入。我从中选择 hdpi.png 然后转到 AndroidManifest.xml 并将 ic_launcher 更改为您选择的图像类型或按 ctrl+space 您将获得所有选项你有

(android:icon="@mipmap/hdpi" )

于 2016-09-21T18:43:03.050 回答
0

在您的清单中,您可以在您的应用程序标签中更改

 android:icon="@mipmap/ic_launcher"
于 2016-07-08T12:48:15.167 回答