Xamarin.Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
Перейти к файлу
Jonathan Peppers 9a96a59613
[Xamarin.Android.Build.Tasks] stop redistributing `apksigner` (#7984)
Fixes: https://github.com/xamarin/xamarin-android/issues/6307

This reverts c50df1c5.

In the past, we had to redistribute `apksigner.jar`, because it
required JDK 11. This happened for build-tools 30.0.0 and was fixed in
built-tools 30.0.3. At the time we were nowhere close able to use JDK
11, and so we built it ourselves for JDK 1.8 and redistributed it.

However, .NET 6+ now *requires* JDK 11, because targets API-31 and
higher. "Classic" Xamarin.Android requires JDK 11 if you are targeting
API-31.

We can remove `apksigner` from `main` going forward in .NET 8.

Other changes:

* Update `XASdkTests.cs` to account for `*.apk.sig` files.
2023-04-24 12:53:23 -05:00
.github
.vscode
Documentation
Localize
build-tools
eng
external
samples
src
src-ThirdParty
tests
tools
.editorconfig
.external
.gitattributes
.gitignore
.gitmodules
.lgtm.yml
Configuration.Override.props.in
Configuration.props
Directory.Build.props
Directory.Build.targets
LICENSE
Makefile
NuGet.config
README.md
SECURITY.md
ThirdPartyNotices.txt
Xamarin.Android-Tests.sln
Xamarin.Android.BootstrapTasks.sln
Xamarin.Android.Build.Tasks.sln
Xamarin.Android.code-workspace
Xamarin.Android.sln
before.Xamarin.Android.sln.targets
build.cmd
build.sh
dotnet-local.cmd
dotnet-local.sh
global.json
mono.snk
msfinal.pub
product.snk

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.2 (d17-5) for Windows+Visual Studio 2022 Download
Commercial Xamarin.Android 13.2 (d17-5) 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.