animekun
animekun

Reputation: 1869

Xamarin.Droid app crash on checked "Shared runtime option"

I'm trying to debug my Xamarin Forms app on android device, but my app crashes on start after deployment, if I check "Use shared runtime" option, to be able to use breakpoints. if I uncheck "Use shared runtime", then app runs without any issues, but I'm unable to use breakpoints

here is my adb logs: http://pastebin.com/vgn2jiqh

Upvotes: 4

Views: 4414

Answers (1)

Johannes Rudolph
Johannes Rudolph

Reputation: 35741

This is an issue I do frequently see when deploying Apps in Debug configuration (use shared runtime=true) and release configuration (use shared runtime=false).

You can resolve it by removing all shared Mono components on your device by going to Settings->Apps and then remove Mono Shared Runtime etc.

After that, redeploy in the desired configuration from Xamarin Studio.

Upvotes: 7

Related Questions