Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Android deployment not using the latest code?

I'm creating an Android app in Visual Studio. When I create the aligned APK to side load on my device (from the Tools -> Android -> Publish Android App), it installs and runs, but doesn't seem to have the very latest changes. The series of events I've experienced is as follows:

  • Installed a version of the app on my device
  • Updated a color on the login page and set the application theme (among other things)
  • Re-installed the app
  • Saw the new theme but not the new color on the login page
  • Made a random text change on the login page as a test
  • Re-installed the app
  • Saw the color change but not the random text change?!

Any suggestions on what I might be doing wrong?

like image 631
Josh Russo Avatar asked May 05 '16 13:05

Josh Russo


1 Answers

I have experienced similar issues, my go to for fixing this issue has been the following

  • Clean all projects.
  • Build all projects (especially the project containing the xcml files).
  • Delete (remove application) from the device.

If for some reason this doesn't solve the problem, typically a full restart of Xamarin Studio or Visual Studio does.

like image 143
Tanerax Avatar answered Oct 20 '22 16:10

Tanerax