Xamarin.Android 8.1 (Preview)

Last Update: 10/11/2017

System RequirementsWhat's NewKnown IssuesBlogsOpen Source

Installing

Feedback

Your feedback is important to us. If there are any problems with this release, check the Xamarin.Android Forums and Xamarin Bugzilla Tracker for existing issues. If you do not find any matching issue, please feel free to start a new discussion and report an issue.

Release History

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

October 11th, 2017 - Xamarin.Android 8.1.0.20

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

Issues Fixed

  • 51664: View.PerformAccessibilityAction and other AccessibilityAction methods map to the incorrect enum?
  • 51689: Xamarin does not handle "${applicationId}" build variable
  • 56648: warning XA0105: The $(TargetFrameworkVersion) for Mono.Android.Export.dll (v7.1) is greater than the $(TargetFrameworkVersion) for your project (v6.0). You need to increase the $(TargetFrameworkVersion) for your project.
  • 56819: Implementing java interfaces without inheriting Java.Lang.Object should fail early
  • 57849: Getting "CSC : error CS1703: Multiple assemblies with equivalent identity have been imported" errors when installing nuget dependencies
  • 57991: Intellisense for a class library project in same solution fails to load in Xamarin.Android
  • 58403: Mismatching listener types/members generated broken event name
  • 58740: Building default Android project after adding Fsharp.core from nuget with 'link SDK assemblies only' dies with exception
  • 59235: [mono-2017-06] android.runtime.JavaProxyThrowable: System.ObjectDisposedException: Cannot access a disposed object.
  • 59651: Xamarin.Forms build fails with command line overflow.
  • 59714: AndroidComponentInfoSystemImage.Abi reads Default for an x86 image
  • 59764: error APT0000: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited with Android SDK Build Tools 23.0.2
  • 59822: Building an Android solution in Release mode that references a net standard project with a Microsoft.Identity reference results in a linker error.

Integrated Mono Features/Fixes

Xamarin.Android uses Mono 5.4 commit fbc487ff.

What's New in this Release

Design-Time Builds on Windows

Xamarin.Android 8.1 brings support for design-time builds 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 enabled by default. You can opt-out of this feature by setting $(AndroidUseManagedDesignTimeResourceGenerator) to False in your project's .csproj.

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

Stable Binding for Android API-26

A stable binding for Android API-26 is distributed in this release and is considered final. Future changes to this binding will be considered a breaking change.

OSS Core

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

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.