Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/211.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 升级到mimap后缺少启动器图标_Android_Drawable_Android Launcher_Mipmaps - Fatal编程技术网

Android 升级到mimap后缺少启动器图标

Android 升级到mimap后缺少启动器图标,android,drawable,android-launcher,mipmaps,Android,Drawable,Android Launcher,Mipmaps,我使用以下配置将我的项目ic_启动器图标从drawable更新为mipmap: 旧项目: drawable - ic_launcher.png(5) -- ic_launcher.png(hdpi) -- ic_launcher.png(mdpi) -- ic_launcher.png(xhdpi) -- ic_launcher.png(xxhdpi) -- ic_launcher.png(xxxhdpi) mipmap - ic_launcher.png(5) -- ic_launcher.

我使用以下配置将我的项目
ic_启动器
图标从
drawable
更新为
mipmap

旧项目:

drawable
- ic_launcher.png(5)
-- ic_launcher.png(hdpi)
-- ic_launcher.png(mdpi)
-- ic_launcher.png(xhdpi)
-- ic_launcher.png(xxhdpi)
-- ic_launcher.png(xxxhdpi)
mipmap
- ic_launcher.png(5)
-- ic_launcher.png(hdpi)
-- ic_launcher.png(mdpi)
-- ic_launcher.png(xhdpi)
-- ic_launcher.png(xxhdpi)
-- ic_launcher.png(xxxhdpi)
清单
android:icon=“@drawable/ic_launcher”

新项目:

drawable
- ic_launcher.png(5)
-- ic_launcher.png(hdpi)
-- ic_launcher.png(mdpi)
-- ic_launcher.png(xhdpi)
-- ic_launcher.png(xxhdpi)
-- ic_launcher.png(xxxhdpi)
mipmap
- ic_launcher.png(5)
-- ic_launcher.png(hdpi)
-- ic_launcher.png(mdpi)
-- ic_launcher.png(xhdpi)
-- ic_launcher.png(xxhdpi)
-- ic_launcher.png(xxxhdpi)
清单:
android:icon=“@mipmap/ic\u启动器”

在我的应用程序发布新版本后,我有一个坏的惊喜,更新到新版本的用户拥有所有默认的android图标,而不是提供的应用程序图标


如何才能使这一转变发挥作用?因为我使用的每一个技巧都没有任何输出。

请他们重新启动设备。或者,让他们在“设置”中查看应用程序屏幕上的图标。他们的主屏幕可能缓存了旧的资源ID。@commonware感谢您的快速回答。这可能是一个解决方案,但你不能要求你的所有用户进行这样的操作。我正试图通过直接提供一个新的应用程序更新来解决这个问题。“这可能是一个解决方案,但你不能要求你的所有用户进行这样的操作”--正是因为这个原因,更改与主屏幕启动器相关的任何内容(图标、标题、要启动的活动等)都是有风险的。