Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preview of widget not showing correct image after update

Tags:

android

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.

like image 976
jademcosta Avatar asked Nov 27 '14 15:11

jademcosta


2 Answers

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.

like image 64
spookypeanut Avatar answered Oct 22 '22 19:10

spookypeanut


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.

like image 6
varesa Avatar answered Oct 22 '22 20:10

varesa