Arthurdent510
Arthurdent510

Reputation: 1320

Xamarin displaying wrong images

I have a xamarin forms project that started behaving strangely... It started randomly replacing images with different images from the resource folder. It seems to only be happening in the Android project, iOS is behaving correctly. I've removed the recently added images and readded them, clean, rebuild, nothing sees to be helping. The images that are getting changed are not being overwritten, and the code references the correct file.

Has anyone run into a similar issue before? Thoughts on how to possibly fix this?

Upvotes: 0

Views: 846

Answers (1)

Mario Galván
Mario Galván

Reputation: 4032

It is a common behaviour, What I usually do is:

  1. Restart Xamarin Studio
  2. Go to your project Android location and Delete the bin/Obj folders.
  3. Do a full clean, rebuild of your project
  4. Delete the Android app from the device

This is the my day to day script. Hope it helps!

Upvotes: 1

Related Questions