Xamarin Android - Deployment failed. Assembly synchronization error
When deploying a Xamarin Android App to a device we were getting the error 'Deployment failed. Assembly synchronization error'. Apparently this happens on Samsung devices with Knox installed and to get around the problem you can uncheck 'Fast assembly deployment' in Xamarin Studio via the project options, a screenshot is below:
The problem here, for us anyway, is that it then removes the existing package and reinstalls a new one every time. As we're developing Apps using Xamarin bindings for Good Technologies Good Dynamics it then throws up the rather annoying email address / pin screen, as seen in the screen below every time we tried to update and deploy the App.
Ok it looks like this was a red herring, you need to also turn on 'Preserve data/cache between application deploys'. This can be done in Xamarin Studio by selecting 'Xamarin Studio'->'Preferences'->'Android' as in the example below.
Comments
Post a Comment