.NET for Android provides open-source bindings of the Android SDK and tooling for use with .NET managed languages such as C#. This ships as an optional .NET workload for .NET 6+ that can be updated independently from .NET in order to respond to external dependency updates like new Android platform and tooling.
.NET for Android is part of .NET MAUI, and may also be used independently for native Android development using .NET.
.NET for Android is part of .NET MAUI, since it was introduced in May 2022 as part of .NET 6, and is currently supported as described in the .NET MAUI Support Policy.
Support for Xamarin.Android ended on May 1, 2024 as per the Xamarin Support Policy:
Xamarin support ended on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. Android API 34 and Xcode 15 SDKs (iOS and iPadOS 17, macOS 14) are the final versions Xamarin targets from existing Xamarin SDKs (i.e. no new APIs are planned).
Follow the official upgrade guidance to bring your Xamarin applications to the latest version of .NET.
.NET for Android ships as a workload through the dotnet
workload system in .NET 6+.
In its simplest form, .NET for Android can be installed by running:
dotnet workload install android
See the .NET workload documentation for additional installation commands and options.
While no longer supported, Classic Xamarin.Android installers are still available here.
If you are interested in fixing issues and contributing directly to the code base, please see the following:
- How to build and run from source
- The development workflow, and using your build
- Coding Guidelines
- Submitting pull requests
- Ask a question on Stack Overflow or Microsoft Q&A.
- Request a new feature or vote for popular feature requests on Microsoft Developer Community.
- File an issue in GitHub Issues.
- Discuss development and design on Discord.
Copyright (c) .NET Foundation Contributors. All rights reserved. Licensed under the MIT License.