问题
I have changed the launcher icons in File -> New -> Image Asset and the icons are changed.
When I click on recent apps icon in it displays the default icon where as correct icon is shown in the main icon list.
Verified the Android manifest where application tag contain the icon tag and corresponding mipmap.
What's wrong here? I am using xiaomi note 4 mobile. Please help.
回答1:
The app icon in the app launcher should be updated, but the shortcuts won't be updated until the next refresh of the home-screen. There isn't much you can do that unfortunately, but the home-screen does refresh itself once in a while, so the new icon will eventually replace the old icon automatically.
回答2:
Reboot your phone and your icon will update in recent apps and notification.
回答3:
From Android Nougat, default launcher icon should be roundIcon
. See this Reference
Maybe you should change your AndroidManifest
for your application
tag
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
来源:https://stackoverflow.com/questions/45234620/launcher-icon-is-changed-but-in-recent-apps-still-default-icon-i-seen