To make this question more relevant to the general users out there, if you are having problems with your app icon not being what you want it to be, or something similar, make sure that your icon is the same across all drawable folders.
I'm running into this issue with my app icon, affectionately named ic_launcher.png. I have been testing my app on the Samsung Galaxy S4 [Sprint] [Stock] and the first icon showed up and everything was normal. I recently changed the app icon to something else, (with the same name, i just made a different icon for it) but the old icon just won't go away when I install the app on the s4. I have cleared data and cache and uninstalled several times, I have even changed the package name, I'm fairly certain this TouchWiz specific because I have CM10.1 on my SII and it updated the icon fine. Any suggestions on how to fix this?
Maybe you have the old icon in the drawable-xxhdpi folder? because s4 will get the launcher icon from this folder.
Related
Recently, I am implementing the adaptive launcher icon in my android application. I have successfully implemented it.
I ran my application on some Gionee mobile( mostly i run my application on Stock Android) running on customized Android 6.0 like mi or Huawei. I found out that there is some kind of ugly mask the manufacturer has embedded in the customized Android which makes the App Icons ugly.
So, I downloaded other apps and found out that other apps also have this ugly mask but apps like Google Tez, Google PlayStore, and many other Google apps are somehow defying this ugly mask thing making their icons like the original. How are they doing it?
I thought by putting their launcher icons into mine could put an end to my misery and I will somehow get the insight of making the launcher icon more compatible.
Here is the result of putting Tez icon in my resource file.
As you can see there is that ugly mask in my icon on the left of google chrome and the right one is the original Tez app icon. How are they doing it?
I want to use the square version of my launcher icon but somehow android keeps forcing use the rounded version.
I read forcing square app icon and although the explanation makes sense it is not true:
in this screenshot you can see that most of icons are rounded but you have
contacts, widget preview and terminal emulator
And before someone say "they are special apps" terminal emulator is a shit app i downloaded from play store... In my cellphone 80% of apps are rounded but instagram, booking and some others are square...
how to force android use my square launcher?
There is a solution for this which i have tried and its works for me.
What we have to do is take the app icon and keep in res -> drawable.
App icon should be in all formats:-
mdpi
, hdpi
, xhdpi
, xxhdpi
, xxxhdpi
with same name for example-
ic_app_icon.png(mdpi)
ic_app_icon.png(hdpi)
ic_app_icon.png(xhdpi)
ic_app_icon.png(xxhdpi)
ic_app_icon.png(xxxhdpi)
Then in Android Menifest file do this change
android:roundIcon="#drawable/ic_app_icon"
by this we can get app icon square.
First, please understand that there are hundreds of different launcher implementations in use across the ~10,000 Android device models and ~2 billion Android devices. How a launcher chooses to represent your activity is up to the developer of the launcher. For example, there is no requirement for the launcher to use any icon at all (e.g., a launcher optimized for screen readers and visually impaired users). A launcher that does use some sort of graphical element might use your icon or not, and if if it does use your icon, it might modify it (crop it to a shape, apply a color filter, cause it to spin, whatever).
Your screenshot appears to be of the Android emulator. In that case, temporarily, you can set your targetSdkVersion to be 25 or lower, and that particular launcher will not attempt to adapt your launcher icon.
However, please bear in mind that you will not be able to ship your app on the Play Store with that low of a targetSdkVersion starting in a few months. So, if the Play Store is your planned distribution channel, you will need to get used to Android's adaptive icon system and deal with the fact that the shape of your icon will be changed on most Android 8.0+ devices.
My applications are behaving oddly when deploying them on the phone. The application icon shows correctly in the applications drawer but in the home screen they show a default android icon. I think this has started happening since I updated to last android studio but I'm not sure of it. Before, everything was ok.
I have been researching this issue but could not find any info about it. Is anyone suffering from this problem? Have you found a solution?
Cheers.
I have seen this on some devices that appear to cache the app icon. In my experience deleting the app from the device and reinstalling has always cured it. This doesn't seem to be a problem when the app icon changes and the app is installed from Google Play, but only when installed via adb, so I don't believe users should see this problem.
I can not comment due to low reputation, so I'm asking that did you place the icon in following folder:
mipmap-mdpi
mipmap-hdpi
mipmap-xhdpi
mipmap-xxhdpi
if not then place your icon in these folder and check.
because now launcher icon should in these folders.
Hope this helps.
Thanks
Doing a routine update to an app and decided to update the launcher icon as I have done many times before. However, I'm getting a very strange bug which I had once before but can't remember how I resolved.
I have the right sized icons in each drawable folder and in the manifest the name is correct:
android:icon="#drawable/ic_launcher"
When I try to update the app the old icon remains, on a fresh installation the default launcher icon shows.
I've tried:
Cleaning the project
Restarting Eclipse
Restarting my computer
Restarting the device
A different device
Adding a new set of icons using the Android Icon Set function
Adding a new set using a different filename and changing the name in the manifest
One stange thing that is worth pointing out, if I delete the file ic_launcher.png from a drawable folder, then rename another file to that filename I get this error:
This shouldn't show as the file doesn't exist. This error then shows if I click continue:
Any ideas?
EDIT:
It appears this issue is even more complex than I thought. If I install an app on the emulator the icon appears just fine, on a device it doesn't. If I install the app onto physical devices from the apk, on one device the icon appears and on the other the Package installer crashes!
It seem this is caused by a bug in newer versions of Android. The icons are indeed included in the apk and upload just fine to Play, however it takes a reboot to get them to be shown on my devices (I was wrong above where I said a reboot doesn't work). This means I need to reboot the devices each time I try and new icon, not the end of the world but certainly frustrating.
This problem exists on two different apps I have been working on and two different Nexus devices, I think since they were updated to 5.0.
So my Gear app is coming along nicely, but I've run into a bit of a problem with the app icons. I've designed a nice white-outline version of my icon that looks good on the device and fits in with the system apps.
But on the Gear Manager (on the phone), it looks awful, because the background is almost white. Is it possible to specify a different icon for Gear Manager, and if so, how?
No this can't be done as you can have only one icon for the app. But if that white background disturbs you make it transparent.