Xamarin.Android 4.20

The Xamarin.Android 4.20 series provides support for Android 5.0 Lollipop (API-21).

Note: Previous releases which included API-L support, such as Xamarin.Android 4.17 and Xamarin.Android 4.99, allowed L to be used within AndroidManifest.xml, e.g. for the //uses-sdk/@android:targetSdkVersion attribute:

<!-- WRONG; must be corrected -->
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="L" />

This must be manually updated to use 21, as the Android SDK no longer supports an API level of L:

<!-- Please update your AndroidManifest.xml files to use 21, not L. -->
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="21" />

Note: Xamarin.Android 4.20 requires JDK 1.7 to use Android Wear and API-21. JDK 1.6 may be used when targeting previous API levels.

Xamarin.Android 4.20.2

Xamarin.Android 4.20.2 fixes a crash encountered on certain devices running Android 5.0.

Bug Fixes

  • 27408: Crash in SynchronizationContext.Post().

Xamarin.Android 4.20.1

Xamarin.Android 4.20.1 is a security update including important fixes for vulnerabilities and stability in the SSL/TLS networking stack.

Bug Fixes

  • 25990: JIT Crash on Lollipop with SIGSEGV error

Integrated Mono Features/Fixes

Xamarin.Android uses Mono 3.10.1 commit f4495ef3.

  • [ssl/tls] Additional state validation for handshake (SKIP-TLS vulnerability) for both client/server code
  • [ssl/tls] Removal of EXPORT ciphers (FREAK vulnerability) for both client/server code
  • [ssl/tls] Removal of SSLv2 fallback (client side only, it was never supported on the server side)
  • 19334: Prevent crashes when a SSL/TLS connection is closed
  • 23246: Fix UserInfo string parsing.
  • 22968, 23987: Crash when lazy-loading assemblies.

Xamarin.Android 4.20.0

New Features

Bug Fixes

  • 23804: Android assets included as linked files in class libraries are not copied into the final APK bundle.
  • 24147: Fastdev is not fast for projects referencing android libraries, including support and google play services libraries

Known Issues

  • 23987: Debugging may crash on Lollypop hardware.

Integrated Mono Features/Fixes

Xamarin.Android uses Mono 3.10 commit f28698ea.

  • 21653 App crash when attempting to debug: Assertion, mono_error_ok (&error) not met.

API Changes

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.