无法在 android studio 2.2 预览版 4 中更改 android 默认启动器图标
Unable to change android default launcher icon in android studio 2.2 preview 4
我已经通过复制 https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html
生成的 'res' 文件夹更改了 android 应用程序的图标
但最近我将 android 工作室更新为 2.2 预览版 4。当我按照上面提到的相同步骤更改应用程序图标时,图标没有改变一些它仍然是默认的 android 图标
我试过的是
- 在 res 文件夹中搜索 ic_launcher.png 并确保除我制作的自定义文件外没有其他文件。
- 重新启动项目。
当我将 ic_launcher.png 重命名为 ic_launcher1.png
时它起作用了
如果使用 android studio,您可以在 mipmap 中找到 ic_launcher 的所有图像,如果使用 eclipse,则可以在 drawable 中找到,或者您也可以进入清单文件并从名为 as 的应用程序标签更改应用程序图标图标
在您的清单中,您可以在此处更改您的应用程序标签
android:icon="@mipmap/ic_launcher"
要将您的图像添加到 res 文件夹,请转到 mipmap 单击打开它,然后转到图像资源和 select 那里的图像和 select 它从它的位置,转到图像位置,然后 select 它,刚刚将图像添加到 res 文件夹并 select 从 xxxhdpi.png、xxhdpi.png xhdpi.png hdpi.png.. I [=] 编辑了它的类型23=]ed hdpi.png 从那
然后转到 AndroidManifest.xml 并将 ic_launcher 更改为您的 selected 图像类型或按 ctrl+space 您将获得所有选项
(android:icon="@mipmap/hdpi" )
我已经通过复制 https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html
生成的 'res' 文件夹更改了 android 应用程序的图标但最近我将 android 工作室更新为 2.2 预览版 4。当我按照上面提到的相同步骤更改应用程序图标时,图标没有改变一些它仍然是默认的 android 图标
我试过的是
- 在 res 文件夹中搜索 ic_launcher.png 并确保除我制作的自定义文件外没有其他文件。
- 重新启动项目。
当我将 ic_launcher.png 重命名为 ic_launcher1.png
时它起作用了如果使用 android studio,您可以在 mipmap 中找到 ic_launcher 的所有图像,如果使用 eclipse,则可以在 drawable 中找到,或者您也可以进入清单文件并从名为 as 的应用程序标签更改应用程序图标图标
在您的清单中,您可以在此处更改您的应用程序标签
android:icon="@mipmap/ic_launcher"
要将您的图像添加到 res 文件夹,请转到 mipmap 单击打开它,然后转到图像资源和 select 那里的图像和 select 它从它的位置,转到图像位置,然后 select 它,刚刚将图像添加到 res 文件夹并 select 从 xxxhdpi.png、xxhdpi.png xhdpi.png hdpi.png.. I [=] 编辑了它的类型23=]ed hdpi.png 从那 然后转到 AndroidManifest.xml 并将 ic_launcher 更改为您的 selected 图像类型或按 ctrl+space 您将获得所有选项
(android:icon="@mipmap/hdpi" )