.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:
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
Copyright (c) .NET Foundation Contributors. All rights reserved. Licensed under the MIT License.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型