dotnet / android

.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
MIT License
1.93k stars 532 forks source link
.NET for Android banner

.NET for Android

.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.

Support

.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.

Downloads

.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.

Contributing

If you are interested in fixing issues and contributing directly to the code base, please see the following:

Feedback

Discord

License

Copyright (c) .NET Foundation Contributors. All rights reserved. Licensed under the MIT License.