Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
Перейти к файлу
Jonathan Pryor b812506b9c
Bump to xamarin/Java.Interop/main@dfcbd670 (#8714)
Changes: 7f08b77f34...dfcbd67030

  * xamarin/Java.Interop@dfcbd670: Bump to xamarin/xamarin-android-tools/main@a698a33 (xamarin/Java.Interop#1189)
  * xamarin/Java.Interop@6182baff: [build] Target `net8.0` (xamarin/Java.Interop#1186)

xamarin/java.interop@6182baff updated Java.Interop to target .NET 8
instead of .NET 7.  This introduced a build break:

	…/xamarin-android/src/Mono.Android/Mono.Android.csproj(402,5):
	  error MSB3030: Could not copy the file
	  "…/xamarin-android/external/Java.Interop/bin/Debug-net7.0/ref/Java.Interop.dll"
	  because it was not found.

Introduce a new `$(JavaInteropTargetFrameworkVersion)` MSBuild
property within `Configuration.props` which contains the .NET version
that Java.Interop is targeting.

Update `Mono.Android.csproj` and `Microsoft.Android.Ref.proj` so that
they use `$(JavaInteropTargetFrameworkVersion)` to locate the
reference `Java.Interop.dll` assembly.
2024-02-09 15:12:47 -05:00
.github [.github] Re-enable locking issues after 30 days of inactivity (#8655) 2024-01-22 15:24:18 -05:00
.vscode [build] Update docs and remove `xabuild` mentions (#8406) 2023-10-10 18:18:37 -04:00
Documentation [readme] Add `d17-8` download links. (#8709) 2024-02-08 15:30:46 -10:00
Localize LEGO: Merge pull request 8665 2024-01-23 08:07:15 -08:00
build-tools Bump to xamarin/Java.Interop/main@dfcbd670 (#8714) 2024-02-09 15:12:47 -05:00
eng Bump to dotnet/installer/main@fb7b9a4b9e 9.0.100-preview.2.24106.6 (#8700) 2024-02-07 08:32:33 -06:00
external Bump to xamarin/Java.Interop/main@dfcbd670 (#8714) 2024-02-09 15:12:47 -05:00
samples [Xamarin.Android.Build.Tasks] AutoImport `*.webp` files (#7601) 2022-12-13 07:58:23 -05:00
src Bump to xamarin/Java.Interop/main@dfcbd670 (#8714) 2024-02-09 15:12:47 -05:00
src-ThirdParty [lgtm] Fix LGTM-reported issues (#1074) 2023-02-14 08:08:29 -05:00
tests Bump to dotnet/installer/main@f91d4ca399 9.0.100-alpha.1.24070.3 (#8635) 2024-01-22 17:16:22 -06:00
tools [build] Trim Xamarin.Android.sln (#8487) 2023-11-07 11:53:34 -05: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@848d1277b7 (#8691) 2024-02-07 21:55:33 -06: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 [build] Use xamarin owned lz4 and robin-map forks (#8567) 2023-12-06 16:57:46 -06:00
.lgtm.yml [lgtm] Fix LGTM-reported issues (#1074) 2023-02-14 08:08:29 -05:00
Configuration.Override.props.in [build] Remove the mono bundle dependency (#8517) 2023-11-28 12:57:45 -05:00
Configuration.props Bump to xamarin/Java.Interop/main@dfcbd670 (#8714) 2024-02-09 15:12:47 -05:00
Directory.Build.props $(AndroidPackVersionSuffix)=preview.2; net9 is 34.99.0.preview.2 (#8678) 2024-01-25 20:29:34 -06:00
Directory.Build.targets Bump to dotnet/installer/main@42ace91ba7 .NET 9.0.100-alpha.1.23603.1 (#8366) 2023-12-04 15:32:03 -05:00
LICENSE [build] ThirdPartyNotices.txt support (#464) 2018-03-02 09:54:35 -05:00
Makefile Bump to dotnet/installer/main@42ace91ba7 .NET 9.0.100-alpha.1.23603.1 (#8366) 2023-12-04 15:32:03 -05:00
NuGet.config Bump to dotnet/installer/main@42ace91ba7 .NET 9.0.100-alpha.1.23603.1 (#8366) 2023-12-04 15:32:03 -05:00
README.md [readme] Add `d17-8` download links. (#8709) 2024-02-08 15:30:46 -10:00
SECURITY.md Add SECURITY.md (#5956) 2021-05-24 15:48:07 -04:00
THIRD-PARTY-NOTICES.TXT Rename ThirdPartyNotices.txt to THIRD-PARTY-NOTICES.TXT (#8546) 2023-11-30 11:01:43 -05:00
Xamarin.Android-Tests.sln [ci] Parallelize and reduce overhead of MSBuild test stage. (#7850) 2023-03-10 12:12:46 -06: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 Bump to mono/debugger-libs/main@84c5c67 (#8536) 2023-11-29 11:55:50 -05:00
Xamarin.Android.code-workspace [build] Update VSCode Support (#5987) 2021-07-08 13:27:40 -04:00
Xamarin.Android.sln Bump to mono/debugger-libs/main@84c5c67 (#8536) 2023-11-29 11:55:50 -05:00
before.Xamarin.Android.sln.targets [build] fix for case-sensitive file systems (#5381) 2020-12-08 10:25:25 -05:00
build.cmd Remove more xabuild (#8263) 2023-08-14 15:48:43 -04:00
build.sh [build] Update VSCode Support (#5987) 2021-07-08 13:27:40 -04:00
dotnet-local.cmd dotnet-local & net8: local dotnet first in PATH (#8222) 2023-08-12 06:50:58 -04:00
dotnet-local.sh dotnet-local & net8: local dotnet first in PATH (#8222) 2023-08-12 06:50:58 -04:00
global.json [One .NET] Target net6.0 instead of netcoreapp3.1 (#5891) 2021-04-30 09:27:12 -05: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.

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.2.2 (d17-8) for Windows+Visual Studio 2022 Download
Commercial Xamarin.Android 13.2.2 (d17-8) for VSMac 2022 Download

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.