
You will receive an error something similar to this on build Error : com/android/dx/command/Main : Unsupported major.minor version 52.0 Mobile.Droid If you have recently upgraded to a new version of Xamarin, it has now changed to build off a new version of the JDK. Check SDK Version is InstalledĬheck that the right SDK version is installed for what you are compiling to as shown in this image below:

Visual Studio will then re-download everything that is required, including that zip file. It doesn’t seem to happen anymore but if it does the quickest solution is to go toĬ:\Users\\AppData\Local\Xamarin\Īnd delete everything in this folder. This is due to the fact Visual Studio occasionally corrupts that file.

Please download and extract it to the …~\Local\Xamarin\4\21.0.3\content directory. Sometimes you get error messages similar to Unzipping failed for android_m2repository Xamarin Forms normally depends upon an older version. For example the Android Support libraries shouldn’t be updated to the latest version.

#CHANGE ANDROID PLATFORM IN VISUAL STUDIO 2017 OS X UPGRADE#
When you upgrade your Xamarin Forms version or add in other 3rd Party Components, normally the needs to be regenerated. Hence, here is my playbook on what to do when things go wrong when deploying for Android. Deploying on the Visual Studio Android Emulator with Xamarin is sometimes an ordeal, with many things that can go wrong.
