The workaround for the default Ic_launcher icon is still displayed after the launcher icon is replaced on the Android app

Source: Internet
Author: User

When doing a mobile phone adaptation, encountered a very strange problem, in 1080x720 's phone can display the replacement ic_launcher.png icon, but in 1920x1080 's phone display ic_ Launcher.png is still the default icon, and after checking that it does not include the default Ic_launcher.png icon throughout the project, what is the icon displayed?

The first possibility of Baidu, found the same problem others have encountered, they are directly replaced by the default Ic_launcher.png icon, re-installed in the simulator/real machine run, the display is still the default icon, the solution is to restart the simulator or the real machine, think it is Ic_launcher cache, maybe!

But I think it might be the app's internal cache, because the first time you install it on a real computer in 1920x1080, the default ic_launcher.png icon is displayed, and the emulator screen is set to 1920x1080, the app icon remains the default Ic_ Launcher.png, other resolution display is normal, supposedly the first installation does not exist ic_launcher.png cache on the phone, if this time to restart the phone, may be their own insight enough, I do not know why. Then clean the current project, regenerate the project R file content, and then installed in the 1920x1080 emulator, the results are surprising, you can display the replaced icon. After that, no matter which 1920x1080 resolution you have installed on your phone, the icon shown is replaced Ic_launcher.png

Click to view Details

The workaround for the default Ic_launcher icon is still displayed after the launcher icon is replaced on the Android app

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.