简体   繁体   English

市场更新后,Android Launcher 应用程序图标未更新为新图标

[英]Android Launcher app icon not updated to new icon after market update

I have provided an update for my application via Android market.我已经通过 Android 市场为我的应用程序提供了更新。 After new application installed from market, my app icon alone has not changed to the new app icon in the Android Launcher screen.从市场上安装新应用程序后,我的应用程序图标本身并没有更改为 Android 启动器屏幕中的新应用程序图标。

However, if the mobile restarted once, the new icon is reflected in Launcher screen too.但是,如果手机重新启动一次,新图标也会反映在启动器屏幕中。 It looks like my old app icon cached in Android Launcher.看起来我的旧应用程序图标缓存在 Android Launcher 中。

What could be an issue?有什么问题? Is that a bug with Android or am I missing something?这是Android的错误还是我遗漏了什么?

The app in the app launcher (drawer) should be updated, but the shortcuts won't be updated until the next refresh of the homescreen.应用程序启动器(抽屉)中的应用程序应该更新,但在主屏幕下次刷新之前不会更新快捷方式。 There isn't much you can do that unfortunately, but the homescreen does refresh itself once in a while, so the new icon will eventually replace the old icon automatically.不幸的是,您无能为力,但主屏幕会偶尔刷新一次,因此新图标最终会自动替换旧图标。

Same Problem !!同样的问题 !! did you check after clear cache or reboot your device您是否在清除缓存或重新启动设备后检查

After clear caches my problem is Gone清除缓存后,我的问题消失了

Try尝试

  1. Setting -> Apps -> All -> yourApp - > Clear Cache设置 -> 应用程序 -> 全部 -> yourApp -> 清除缓存

  2. if not updated Than Reboot Device如果没有更新比重启设备

Check this link - Android application name and icon doesn't change until phone is rebooted (after application update)检查此链接 - Android 应用程序名称和图标在手机重新启动之前不会更改(应用程序更新后)

I had the same problems and tried different approaches (one was trying to remove programatically the launcher screen's icon and the add the new one; I was able to add the new one but couldn't remove the old one; android:duplicate doesn't replace the old one only avoids to add the new icon and if trying to remove and I as far as I've researched so far was removed starting with ICS).我遇到了同样的问题并尝试了不同的方法(一种是尝试以编程方式删除启动器屏幕的图标并添加新的图标;我能够添加新的但无法删除旧的;android:duplicate 不会替换旧图标只会避免添加新图标,如果尝试删除,据我目前研究的那样,从 ICS 开始删除)。 But my conclusion is that there's an Android issue and you can find it posted here: https://code.google.com/p/android/issues/detail?id=54546但我的结论是存在 Android 问题,您可以在此处找到它: https : //code.google.com/p/android/issues/detail?id=54546

I have provided an update for my application via Android market.我已通过Android Market为我的应用程序提供了更新。 After new application installed from market, my app icon alone not changed to new app icon in Android Launcher screen.从市场上安装新应用程序后,我的应用程序图标未单独更改为Android Launcher屏幕中的新应用程序图标。

However, if the mobile restarted once, the new icon reflected in Launcher screen too.但是,如果手机重新启动一次,新图标也会在启动器屏幕中反映出来。 It looks like my old app icon cached in Android Launcher.看来我的旧应用程序图标已缓存在Android启动器中。

What could be an issue?可能是什么问题? is that an bug with Android or am I missing something?是Android的错误还是我遗漏了一些东西?

Please help.请帮忙。

Thanks in Advance.提前致谢。

I also faced this problem, because of roundIcon configuration.由于roundIcon配置,我也遇到了这个问题。 So please make sure, you have updated both icon and roundIcon .所以请确保你已经更新了iconroundIcon

Android uses either of the icons based on the device configuration. Android 根据设备配置使用任一图标。 Hence we should be defining both kinds of icons因此我们应该定义两种图标

https://developer.android.com/about/versions/nougat/android-7.1#circular-icons https://developer.android.com/about/versions/nougat/android-7.1#circular-icons

重启手机解决了我的问题。

Something similar happened to me with action bar icons.类似的事情发生在我身上,操作栏图标。 In intelliJ, I had to explicitly rebuild the project for the icon change to take effect.在 IntelliJ 中,我必须显式重建项目以使图标更改生效。 It's worth mentionning that the faulty icon name remained the same (I was switching from holo light to holo dark)值得一提的是,错误的图标名称保持不变(我从全息光切换到全息暗)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM