Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
Перейти к файлу
Jonathan Pobst fc34ead13c
[MSBuildDeviceIntegration] Fix duplicated test parameter (#7809)
The following test case is duplicated in `MSBuildDeviceIntegration.XASdkDeployTests (...)`:

    new object[] {
    	/* isRelease */      true,
    	/* xamarinForms */   false,
    	/* targetFramework*/ "net8.0-android",
    },

This was likely a c/p error and the correct `targetFramework` is `net7.0-android`.
2023-02-21 08:41:26 -06:00
.github [Actions] Add action to bump the hash used for the unified pipeline (#7712) 2023-01-19 14:03:25 -05:00
.vscode [.vscode] use net7.0-android (#7268) 2022-09-07 12:09:50 -04:00
Documentation [Xamarin.Android.Build.Tasks] _Microsoft.Android.Resource.Designer (#6427) 2023-01-05 11:05:18 -05:00
Localize LEGO: Merge pull request 7756 2023-01-31 03:36:38 -08:00
build-tools [tests] Bump NUnit versions to latest (#7802) 2023-02-17 12:08:50 -05:00
eng Bump to dotnet/installer/main@d25a3bb 8.0.100-preview.2.23105.6 (#7769) 2023-02-15 11:16:33 -06:00
external Bump to xamarin/Java.Interop/main@9e0a469 (#7797) 2023-02-15 18:57:11 -05:00
samples [Xamarin.Android.Build.Tasks] AutoImport `*.webp` files (#7601) 2022-12-13 07:58:23 -05:00
src [Microsoft.Android.Sdk.ILLink] target `net7.0` temporarily (#7803) 2023-02-17 12:03:29 -05:00
src-ThirdParty [lgtm] Fix LGTM-reported issues (#1074) 2023-02-14 08:08:29 -05:00
tests [MSBuildDeviceIntegration] Fix duplicated test parameter (#7809) 2023-02-21 08:41:26 -06:00
tools Fix reading assembly store hashes in AssemblyStoreReader 2022-11-30 10:15:29 +00:00
.editorconfig [monodroid] Add native code static checkers and sanitizers (#5094) 2020-10-13 16:01:41 -04:00
.external Bump to xamarin/monodroid/main@50faac94 (#7725) 2023-01-24 11:25:07 -05:00
.gitattributes [Xamarin.Android.Build.Tasks] Move XA4214 warning text into .resx file (#3900) 2019-12-07 13:58:58 -05:00
.gitignore [ci] Fix test categories for emu smoke tests (#7374) 2022-09-14 20:35:14 -04:00
.gitmodules Bump to xamarin/android-api-docs/main@5c4bf28f (#7099) 2022-06-15 15:21:49 -04:00
.lgtm.yml [lgtm] Fix LGTM-reported issues (#1074) 2023-02-14 08:08:29 -05:00
Configuration.Override.props.in [Mono.Android] Bind and enumify API-33 (#7105) 2022-06-28 12:49:19 -04:00
Configuration.props [xaprepare] Support arm64 emulator components (#7743) 2023-01-26 14:54:26 -05:00
Directory.Build.props $(AndroidPackVersionSuffix)=preview.2; net8 is 34.0.0-preview.2 (#7761) 2023-02-02 15:28:05 -05:00
Directory.Build.targets Bump to xamarin/xamarin-android-tools/main@fa3711b (#7501) 2022-11-18 08:13:00 -05:00
LICENSE [build] ThirdPartyNotices.txt support (#464) 2018-03-02 09:54:35 -05:00
Makefile [build] `make all` doesn't need `-m:1` (#7589) 2022-11-30 12:34:37 -05:00
NuGet.config [NuGet] Add back the `dotnet7` feed (#7534) 2022-11-07 13:16:38 -05:00
README.md [README] Add links to Xamarin.Android 13.1 release installers (#7547) 2022-11-09 10:50:20 -05:00
SECURITY.md Add SECURITY.md (#5956) 2021-05-24 15:48:07 -04:00
ThirdPartyNotices.txt [monodroid] Build the Xamarin.Android runtime for net6 (#5665) 2021-03-02 22:01:01 -05:00
Xamarin.Android-Tests.sln [samples] Rework Samples so it compiles with `dotnet build` (#6485) 2021-11-15 17:11:11 -05:00
Xamarin.Android.BootstrapTasks.sln [build] improve Xamarin.Android.sln usability in VS Windows (#3877) 2019-11-12 11:37:20 +01:00
Xamarin.Android.Build.Tasks.sln [illink] Use latest illink (#5604) 2021-02-11 18:20:49 +01:00
Xamarin.Android.code-workspace [build] Update VSCode Support (#5987) 2021-07-08 13:27:40 -04:00
Xamarin.Android.sln Enable marshal methods support by default (#7351) 2022-10-10 17:04:47 -04:00
before.Xamarin.Android.sln.targets [build] fix for case-sensitive file systems (#5381) 2020-12-08 10:25:25 -05:00
build.cmd [build] Update 'build.cmd' to use 'dotnet build' (#7080) 2022-06-09 12:21:45 -04:00
build.sh [build] Update VSCode Support (#5987) 2021-07-08 13:27:40 -04:00
dotnet-local.cmd [build] Copy .NET build output to ref/runtime dirs (#7010) 2022-06-13 13:20:14 -04:00
dotnet-local.sh [build] Fix the `dotnet-local.sh` script path resolution (#7090) 2022-06-13 20:49:56 +00:00
global.json [One .NET] Target net6.0 instead of netcoreapp3.1 (#5891) 2021-04-30 09:27:12 -05:00
mono.snk [build] Remove Mono submodule (#3371) 2019-07-25 12:04:22 -04:00
msfinal.pub [build] Remove Mono submodule (#3371) 2019-07-25 12:04:22 -04:00
product.snk [Mono.Android, Mono.Android.Export] Sign assemblies. (#29) 2016-05-10 16:29:33 +01:00

README.md

.NET Android banner

.NET Android

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

While .NET Android is an essential part of MAUI, it is still fully supported to be used independently for native Android development using .NET.

This repository is also home to the classic Xamarin.Android product.

Support

.NET Android is now part of .NET 6+ and follows the same support lifecycle as the MAUI Support Lifecycle.

Support for classic Xamarin.Android will end on May 1, 2024 as per the Xamarin Support Policy:

Xamarin support will end on May 1, 2024 for all classic Xamarin SDKs. Android 13 will be the final version classic Xamarin.Android will target.

Build Status

Platform Status
OSS macOS OSS macOS x86_64
OSS Ubuntu OSS Linux/Ubuntu x86_64

Downloads

Current

.NET Android ships as a workload through the dotnet workload system in .NET 6+. See the workload documentation for installation commands.

Classic Xamarin.Android installers are available here:

Platform Link
Commercial Xamarin.Android 13.1 (d17-4) for Windows+Visual Studio 2022 Download
Commercial Xamarin.Android 13.1 (d17-4) for macOS Download
OSS Xamarin.Android (main) for Ubuntu* OSS Linux/Ubuntu x86_64

* Please note that the OSS installer packages are not digitally signed.

Previous Releases are also available for download.

Contributing

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.

Feedback

Discord

License

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