Xamarin.Android 8.1 Release Notes - Xamarin (original) (raw)

System Requirements | What's New | Known Issues | Blogs | Open Source

Installing

Feedback welcome

Your feedback is important to us. If there are any problems with this release, check the Xamarin.Android Forums and Visual Studio Developer Community for existing issues. For new issues, let us know via the Report a Problem option found in your favorite IDE via Help -> Report a Problem.

Release History

You can learn more about how we ship our releases in the Visual Studio 2017 Release Rhythm document.

January 25th, 2018 - Xamarin.Android 8.1.5.0

This version is included in the Visual Studio 2017 version 15.5.5 release.

Integrated Mono Features/Fixes

Xamarin.Android uses Mono 5.4 commit 6fcdbac8.

Issues Fixed

January 9th, 2018 - Xamarin.Android 8.1.3.0

This version is included in the Visual Studio 2017 version 15.5.3 release.

Integrated Mono Features/Fixes

Xamarin.Android uses Mono 5.4 commit b293f453.

Issues Fixed

December 14th, 2017 - Xamarin.Android 8.1.0.25

This version is included in the Visual Studio 2017 version 15.5.2 release.

Issues Fixed

December 4th, 2017 - Xamarin.Android 8.1.0.24

This version is included in the Visual Studio 2017 version 15.5 release.

Issues Fixed

Integrated Mono Features/Fixes

Xamarin.Android uses Mono 5.4 commit 950ea65c.

What's New in this Release

Design-Time Builds on Windows using the Managed Resource Parser (Experimental)

Xamarin.Android 8.1 brings support for design-time builds using a managed resource parser on Windows. Design-time builds are special builds that are launched by the project system to gather information to populate language services and project services. Design-time builds are indirectly launched in response to a user action such as changing project items by adding/removing files, modifying references, switching configurations or altering build settings.

This behavior is disabled by default. You can opt-in to this feature by setting the $(AndroidUseManagedDesignTimeResourceGenerator) property to True inside your project's .csproj:

<PropertyGroup>
  <AndroidUseManagedDesignTimeResourceGenerator>True</AndroidUseManagedDesignTimeResourceGenerator>
</PropertyGroup>

This will enable the managed resource parser rather than aapt. This will not disable other design-time build features.

For more information about design-time builds, please see the following documentation:

https://github.com/dotnet/project-system/blob/master/docs/design-time-builds.md#design-time-builds

Known Issues

JDK 9

Xamarin.Android does not currently support JDK 9. It is recommended to use JDK 8 until Android officially supports JDK 9.

For more information on this topic, please see our documentation on this topic in Xamarin.Android and Java Development Kit 9 or later

Java.lang.ClassNotFoundException

We have had multiple reports regarding applications running into a "Java.Lang.ClassNotFoundException: Didn't find class <md5.ClassName> on path: DexPathList" exception.

Developer Community

Managed Resource Parser

By opting-into the Managed Resource Parser, we have discovered that the Android Designer is incompatible for the following reasons:

OSS Core

Xamarin.Android 8.1 is based on the open-source Xamarin.Android repositories: