Android Oreo 8.1 introduces new features, including Android Go, Neural Networks API, Autofill framework enhancements, SharedMemory API, and many more.

We’re excited to announce Xamarin.Android support for Android Oreo 8.1 in our latest release of Xamarin.Android for both Visual Studio and Visual Studio for Mac.

Installing Xamarin.Android for Android Oreo 8.1

You can get Android Oreo support in Xamarin.Android 8.2.0.1 and above, which is available today in the Visual Studio Preview channel and Visual Studio for Mac Beta channel.

Visual Studio

  • Open the Visual Studio Installer, and download the latest Preview (15.6 Preview 2).

Visual Studio for Mac

  • Switch the Visual Studio for Mac Update Channel to the Beta channel.
  • Ensure Xamarin.Android 8.2.0.1 is available for download and install the updates.

Both Visual Studio and Visual Studio for Mac

Android 8.1 development requires JDK 1.8 for compilation of applications; JDK 1.8 is available from Oracle. See the requirements documentation for more information.

Install the Android Oreo 8.1 SDK

Start the Android SDK Manager:

  • Visual Studio, use Tools > Android > Android SDK Manager
  • Visual Studio for Mac, use Tools > SDK Manager

Install Android 8.1(API 27) SDKs and Device Images:

Install the latest Android SDK tools, listed under the Tools tab, and include Android SDK Tools revision 26.1.1 or later, SDK platform-tools 27.0.1 or later, and SDK build-tools 27.0.0 or later:

For more information about using the Android SDK Manager to install the Android SDK, see Using the SDK Manager.

After restarting Visual Studio, you’ll be able to set your <TargetFrameworkVersion> to Android 8.1 (Oreo) in your project and take advantage of the new APIs:

Learn More

For more detailed information on how to get started with Android Oreo, please see our documentation.

We encourage your feedback on any issues to be reported via the Report a Problem option found in your favorite IDE via Help > Report a Problem. If you have any questions regarding Android Oreo APIs, please post them on the Xamarin Forums or Stack Overflow.

Discuss this post in the Xamarin Forums »