jademcosta
jademcosta

Reputation: 1528

Preview of widget not showing correct image after update

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.

Upvotes: 18

Views: 3809

Answers (2)

varesa
varesa

Reputation: 2419

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.

Upvotes: 6

spookypeanut
spookypeanut

Reputation: 503

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.

Upvotes: 13

Related Questions