We are working on Print service(plugin) related application, we have a production version which is available on Google Play. We planned to release an updated version of this app with the new app icon(launcher icon). We replaced existing res/drawable/ic_launcher.png with a newer icon with a different name like res/drawable/ic_new_launcher.png. So to see the updated new logo, We have to navigate Android Device setting -> Printing. It is showing me the Android logo instead of Our app logo.
We can see app icon only if we restart device & coming back to Printing service screen under device setting.
We tried to move ic_new_launcher.png from drawable to mipmap but still facing the same issue.
Issue observed on Samsung Galaxy S8 plus(7.0 Nougat) & LG G6(7.0 Nougat). Not sure this issue resides on other device models & OS version.
Note: *App logo is showing perfectly if we install freshly
Attached Image for reference
Please let me know If any other information required.
Add your launcher icon in all below res folder i hope its help
1)mipmap-hdpi
2)mipmap-mdpi
3)mipmap-xhdpi
4)mipmap-xxhdpi
5)mipmap-xxxhdpi
Related
I've added an icon to my app via the built-in Image Asset Studio in Android Studio.
Made a png foreground and then color as a background.
On a Samsung device, the icon renders perfectly.
Then when I install the app on a Huawei P20 with android 10. The icon is rendered like this:
I think the Huawei UI isn't using the adaptive icon, but uses the legacy icon and adjusts it into its custom app shape UI and therefore zooms in.
Are there some extra steps I need to do for having a good rendering app icon?
Thanks.
Have you tried Adaptive Icons?
Instead of using a single image use the combination of 2 images for Foreground and background.
You can take the idea from android's default app icon, it's also adaptive.
I had the same problem with Huawei P20 Lite (Android 8.0.0) when I tried to install an app from Android studio.
There's nothing we can do to fix it.
But the icon will look like it should after a reboot.
Also, if you'll build a release version of your app and install it via adb install the icon will look like you expect.
I have developed a game for android device using LibGDX. When I test the app in actual devices the app get installs properly and the app icon is shown in the apps.
When I tried in a device Redmi from xiaomi, a default green robot icon was shown instead of the app's icon. I have even removed the ic_launcher.png from the drawable* folders, the issue still existed. Could you please explain / assist me to resolve this ?
I have an app that has an widget preview image. I recently updated this image on the app, but in a device with Lollipop (5.0) version of android, the preview image of the widget shows the old image (the one I replaced). The same doesn't occur in devices without Lollipop.
I turned the resources folder upside down searching for the old image, but it is correctly updated in all the places (actually, it is only in one folder, as I have only one image of the preview).
Just to give more info, I'm using Android Studio 1.0-rc1, and this problem only occurs in my Nexus 4 with lollipop (5.0) running on it.
I tested in some emulators with Lollipop, and the same happened.
It's important to highlight that if I never installed any previous version of the app (with the old widget preview image), when I install the new version the preview image appears to be correct.
Is anyone having the same problem, or knows how to solve this?
Thanks.
I had the same problem. I managed to work around it (on Nexus 5) by going to the settings of the launcher app (Settings -> Apps -> Google App) and deleting the cache.
I also had this same issue and the answer by #spookypeanut put me on the right track.
My phone is running CyanogenMod so I had to go to app Launcher3 (com.cyanogenmod.trebuchet), clear cache and force stop it. After it reloaded all the previews updated.
I have strange problem: I uploaded my first Android app to the play store today and a friend of mine who uses the Samsung Galaxy Nexus ( http://en.wikipedia.org/wiki/Galaxy_Nexus ) just downloaded it but on the main screen there does not appear the background image I set in the app. However, testing the app in the simulator (with same device simulated) works, i.e. the background image is shown properly and everything works as wished.
How is that possible? Is there an inconsistency between the simulator and the corresponding real device? Even if so, this would be extremely bad...
I would suggest you to install the .apk, that you exported with your keystore and published on Google play on the simulator to verify.
If the background image is still missing then you might double check the res/drawable folders to find your background image. Do clean the project as well.
I want to deploy my application with Android 2.1 features. I placed an application icon in PNG format in the drawable-ldpi,and drawable-hdpi folders. When I installed to the device, it is not showing the application icon on the home screen of the device.
Please help me how to solve this issue?
I ran into a problem like this before.
My app wasn't changing name and icon, even with everything changed in manifest and icons in drawable folders.
It seems like it had some sort of cache, which installed the same old config (although coding was changing).
Restarting the phone solved my problem.