Releases: dotnet/android
.NET 8 Servicing, Android 34.0.95
The latest .NET MAUI
component is available in Visual Studio 2022 17.10 Preview 3:
You can also download the .NET 8 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.95/8.0.100 SDK 8.0.200
Also see the Known Issues in .NET 8.
What's Changed
- [build] Include MIT license in most NuGet packages by @pjcollins in #8787
- Bump to xamarin/java.interop/release/8.0.1xx@3c5cf34b by @jonpryor in #8791
- [build] Remove MONOANDROID, NET, and NETCOREAPP directives by @pjcollins in #8434
- [Xamarin.Android.Build.Tasks] remove $(AndroidSupportedAbis) from
build.props
by @jonathanpeppers in #8717 - [Mono.Android] Do not dispose request content stream in AndroidMessageHandler by @simonrozsival #8764
- [Mono.Android] Fix race condition in AndroidMessageHandler by @simonrozsival #8753
- [NET8] Fix assembly count when satellite assemblies are present by @grendello in #8822
- [Xamarin.Android.Build.Tasks] DTBs should not rm generator output by @dellis1972 in #8835
- [build] keep $(DotNetAndroidManifestVersionBand) on 8.0.100 by @jonathanpeppers in #8841
Full Changelog: 34.0.85...34.0.95
.NET 9 Preview 2, Android 34.99.0-preview.2.189
How to install?
This release is not yet available from the Visual Studio installer. Download the .NET 9 Preview 2 SDK, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.99.0-preview.2.189/9.0.100-preview.2 SDK 9.0.100-preview.2
What's Changed
- $(AndroidPackVersionSuffix)=preview.2; net9 is 34.99.0.preview.2 by @jonathanpeppers in #8678
- [xaprepare] Add support for newer SparkyLinux by @grendello in #8684
- [GetAndroidDependencies] Add Jdk dependency info by @pjcollins in #8651
- Bump to xamarin/java.interop/main@07c73009 by @jonpryor in #8681
- Bump to 34.0.79 $(AndroidNetPreviousVersion) by @jonathanpeppers in #8693
- [monodroid] typemaps may need to load assemblies by @dependabot in #8625
- [Mono.Android] Commit
api-34.xml
instead of generating it on every build. by @jpobst in #8679 - [Xamarin.Android.Build.Tasks]
FixAbstractMethodsStep
performance by @jonathanpeppers in #8650 - Bump to xamarin/monodroid@848d1277b7 by @pjcollins in #8691
- [readme] Add
d17-8
download links. by @jpobst in #8709 - C++ tweaks and legacy code cleanup by @grendello in #8638
- Bump to xamarin/Java.Interop/main@dfcbd670 by @jonpryor in #8714
- [Xamarin.Android.Build.Tasks] introduce BannedApiAnalyzers for Mono.Cecil by @jonathanpeppers in #8715
- [Xamarin.Android.Build.Tasks] remove
$(AndroidSupportedAbis)
frombuild.props
by @jonathanpeppers in #8717 - Make typemap dump utility work with current
libxamarin-app.so
by @grendello in #8694 - [Microsoft.Android.Sdk.ILLink] remove Java.Interop.Export reference by @jonathanpeppers in #8719
- Bump LibZipSharp to 3.1.1 by @dellis1972 in #8723
- Remove xabuild completely by @grendello in #8720
- Debugging MSBuild Tasks by @dellis1972 in #8730
- Bump NDK to r26c by @grendello in #8732
- [xaprepare] Make 7zip work with "dangerous" symlinks in ZIPs by @grendello in #8737
- Bring in changes from PR #8478 by @grendello in #8727
- Bump to xamarin/monodroid@cb01503327 by @pjcollins in #8742
- Track
Java.Interop.Tools.JavaCallableWrappers
changes by @jpobst in #8701 - [xamarin-android-tools] import $(LibZipSharpVersion) value by @jonathanpeppers in #8738
- Add a property required by #8478 by @grendello in #8749
- [ci] Always run the MAUI test job by @pjcollins in #8750
- [Mono.Android] fix a set of the "easiest" trimmer warnings by @jonathanpeppers in #8731
- Bump com.android.tools:r8 from 8.2.42 to 8.2.47 in /src/r8 by @dependabot in #8761
- [Mono.Android] Do not dispose request content stream in AndroidMessageHandler by @simonrozsival in #8764
Full Changelog: 34.99.0-preview.1.151...34.99.0-preview.2.189
.NET 8 Servicing, Android 34.0.85
The latest .NET MAUI
component is available in Visual Studio 2022 17.10 Preview 2:
You can also download the .NET 8 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.85/8.0.100 SDK 8.0.200
Also see the Known Issues in .NET 8.
What's Changed
- [Xamarin.Android.Build.Tasks] Add check for aapt2 invalid data path error by @dellis1972 in #8640
- Bump to xamarin/monodroid@7edfb4a9 by @jonathanpeppers in #8712
- Bump to dotnet/android-libzipsharp@7abbbf4 @dellis1972 in #8723
- [xamarin-android-tools] import $(LibZipSharpVersion) value by @jonathanpeppers in #8738
Changes in other repos:
- Attach the Java Debugger on Emulators by @dellis1972
- Adds api to disconnect JDWP by @tondat
- Rework AdbOutputParsing ParseGetprop to use a multi-line RegEx by @dellis1972
- Fix an issue with the Debugger Dialog not being dismissed by @dellis1972
- [Xamarin.AndroidTools] feature switch to disable Java debugging by @jonathanpeppers
Full Changelog: 34.0.79...34.0.85
.NET 9 Preview 1, Android 34.99.0-preview.1.151
How to install?
This release is not yet available from the Visual Studio installer. Download the .NET 9 Preview 1 SDK, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.99.0-preview.1.151/9.0.100-preview.1 SDK 9.0.100-preview.1
Deprecations
Outdated "Android Support Library" packages are no longer supported in .NET 9:
Xamarin.Android.Arch.*
Xamarin.Android.Support.*
error XA1039: The Android Support libraries are not supported in .NET 9 and later, please migrate to AndroidX. See https://aka.ms/xamarin/androidx for more details.
The underlying Java libraries are no longer supported by Google since the final 28.0.0 release. See the Android Support Library Documentation for details.
Some example prefixes of the newer, supported AndroidX packages are:
Xamarin.AndroidX.*
Xamarin.AndroidX.Arch.*
For more information about the Android Support libraries or AndroidX, see:
To begin this rollout, we've introduced this message as a warning in .NET 8.
See our deprecations wiki page for more information.
What's Changed
- $(AndroidPackVersionSuffix)=preview.1; net9 is 34.99.0.preview.1 by @jonathanpeppers in #8362
- [ci] Use Python 3 for signing tasks by @pjcollins in #8367
- [monodroid] Bump to new version of monodroid by @dellis1972 in #8371
- [tests] set
$(DisableTransitiveFrameworkReferenceDownloads)
by @jonathanpeppers in #8374 - [Xamarin.Android.Build.Tasks] fix
InstallAndroidDependencies
in .NET 8 by @jonathanpeppers in #8375 - [ci] Skip Linux apt upgrade step by @pjcollins in #8396
- [Mono.Android] Generate API docs for android-34 by @pjcollins in #8383
- [Xamarin.Android.Build.Tasks] Make manifestmerger.jar the default. by @dellis1972 in #8392
- [Xamarin.Android.Build.Tasks] Add support for $(AndroidEnableObsoleteOverrideInheritance). by @jpobst in #8393
- Bump to xamarin/java.interop/main@ed63d890 by @jonathanpeppers in #8407
- [build] Update docs and remove
xabuild
mentions by @pjcollins in #8406 - [Xamarin.Android.Build.Tasks] Try a case insensitive lookup as a backup for Legacy Designer fixup by @dellis1972 in #8376
- Hush some messages logged by default on startup by @grendello in #8414
- Fix up ForegroundService.ToString() by @dellis1972 in #8412
- Include Bindings code in Design Time builds by @dellis1972 in #8357
- attempt to fix dotnet/maui#17265 by @jonathanpeppers in #8416
- [Refactor] Small refactoring to
AddKeepAlives
method by @Youssef1313 in #8423 - [profiled-aot] update profile for .NET 8 GA by @jonathanpeppers in #8428
- [Mono.Android] Generate API docs with "full" verbosity by @pjcollins in #8435
- [docs] .NET 8 simplified
dotnet-trace
instructions by @jonathanpeppers in #8436 - Bump monodroid to 2f07bd4a71f2d59d0d86caefedf61b9fd0795699 by @dellis1972 in #8433
- [Build Tasks] Update CheckClientHandlerType errors by @pjcollins in #8438
- [build] Remove MONOANDROID, NET, and NETCOREAPP directives by @pjcollins in #8434
- [Performance] Simplify
AddKeepAlivesStep
to not add all assembly types in a list by @Youssef1313 in #8422 - [Tests] Fix TestResolveToolsExists on .NET by @pjcollins in #8445
- Bump NDK to r26b by @grendello in #8450
- [docs] Don't overwrite xml produced by docs build by @pjcollins in #8451
- [ci] Stop building monodroid in builds from forks by @pjcollins in #8444
- [ci] Only use Xcode 14 on CI builds by @pjcollins in #8457
- [build] Include ThirdPartyNotices in workload packs by @pjcollins in #8455
- [build] Do not install build-tools 30.0.3 by @pjcollins in #8461
- Add Unit test to make sure Designer Assembly is not packaged. by @dellis1972 in #8467
- [build] Remove classic components from NUPKGs by @pjcollins in #8464
- [ci] Increase MSBuild Emulator Tests timeout. by @jpobst in #8477
- [ci] Fix builds from forks by @pjcollins in #8479
- [tests] add test for Microsoft.Intune by @jonathanpeppers in #7926
- [ci] Use python 3.11.x by @pjcollins in #8483
- Bump to xamarin/java.interop/main@1adb7964 by @jonpryor in #8339
- [Tests] Fix Designer Tests to use
AndroidSdkResolver.GetMaxInstalledPlatform ()
by @dellis1972 in #8488 - [build] Trim Xamarin.Android.sln by @pjcollins in #8487
- [Tests] Remove Builder.UseDotNet by @pjcollins in #8441
- [tests] update Microsoft.Intune.Maui.Essentials.android by @jonathanpeppers in #8495
- [Build Tasks] Import mono linker sources by @pjcollins in #8482
- [tests] Better support running on arm64-v8a devices by @pjcollins in #8492
- [Mono.Android] Replicate automated docs build by @pjcollins in #8498
- [build] Remove NuGet.exe provisioning by @pjcollins in #8506
- Bump xamarin-android-tools by @grendello in #8507
- [build] Remove mingw and mman-win23 dependencies by @pjcollins in #8505
- [Xamarin.Android.Build.Tasks] Add support for @(AndroidMavenLibrary). by @jpobst in #8420
- [build] Stop producing Xamarin.Android.Cecil.dll by @pjcollins in #8489
- [ci] Do not try to modify classic VSIX install by @pjcollins in #8518
- Fix AndroidPackagingOptionsExclude so it can be overridden in the csproj by @dellis1972 in #8459
- Bump to xamarin/Java.Interop/main@445ee6cd by @jonpryor in #8524
- [ci] Fix nightly build by @pjcollins in #8527
- [GitHub] Modernization tweaks for GitHub issue templates. by @jpobst in #8502
- [build] Remove the mono bundle dependency by @pjcollins in #8517
- [build] Bump Android SDK component versions by @pjcollins in #8510
- Bump
debugger-libs
fromc53676b
to84c5c67
. by @jpobst in #8536 - [Microsoft.Android.Templates] docs link in binding project template by @jonathanpeppers in #8535
- Rename THIRD-PARTY-NOTICES.TXT by @pjcollins in #8546
- [Xamarin.Android.Build.Tasks] Emit warnings if using deprecated bindings fallback flags. by @jpobst in #8511
- [xaprepare] Track the versions of Android SDK Levels available on CI agents. by @jpobst in #8552
- Add a handful of compiler options to harden code by @grendello in #8551
- Bump
xamarin-android-tools
frombde49e6
to4889bf0
. by @jpobst in #8545 - [build] push .NET 9 packages using
dnceng-dotnet9
by @jonathanpeppers in #8560 - [workload] Allow installation on linux-arm64 by @pjcollins in https://github.com/xamarin/xamarin-...
.NET 8 Servicing, Android 34.0.79
The latest .NET MAUI
component is available in Visual Studio 2022 17.10 Preview 1:
You can also download the .NET 8 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.79/8.0.100 SDK 8.0.100
Also see the Known Issues in .NET 8.
What's Changed
- [tests] add test for Microsoft.Intune by @jonathanpeppers in #7926
- [build] set
$(AllowSelfContainedWithoutRuntimeIdentifier)
by @jonathanpeppers in #8547 - [Xamarin.Android.Build.Tasks] Update XA5207 for VSCode by @dellis1972 in #8494
- [Xamarin.Android.Build.Tasks] don't set $(PublishSelfContained) for .NET 9 by @jonathanpeppers in #8565
- [Microsoft.Android.Templates] New files should open editor by @jonpryor in #8623
- [Mono.Android] Fix ServerCertificateCustomValidator by @simonrozsival in #8594
- Fix ServerCertificateCustomValidator on API 21-23 by @simonrozsival in #8637
- Bump com.android.tools:r8 from 8.1.56 to 8.1.72 in #8532
- Bump com.android.tools:r8 from 8.1.72 to 8.2.33 in #8577
- Update a number of l18n files by @grendello in #8633
- [Xamarin.Android.Build.Tasks] fix warning when missing
proguard-android.txt
by @dellis1972 in #8641 - [release/8.0.1xx] [Xamarin.Android.Build.Tasks] XA1039 warning for Android.Support by @jonathanpeppers in #8648
- [Xamarin.Android.build.Tasks] ignores
repackaged.jar
by @jonathanpeppers in #8664 - [workload] Allow installation on linux-arm64 by @pjcollins in #8500
- [release/8.0.1xx] localization changes for
XA1039
by @jonathanpeppers in #8674
Full Changelog: 34.0.52...34.0.79
.NET 8 Servicing, Android 34.0.52
The latest .NET MAUI
component is available in Visual Studio 2022 17.9 Preview 2:
Note that the .NET 8 SDK is the default in the 17.9 Visual Studio release, as well as .NET 8 releases of .NET MAUI.
You can also download the .NET 8 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.52/8.0.100 SDK 8.0.100
Also see the Known Issues in .NET 8.
What's Changed
- Various test and CI changes
- Android SDK alignment with 17.9 Visual Studio Installer
- [release/8.0.1xx] Bump Android SDK component versions by @pjcollins in #8534
- [release/8.0.1xx] Bump to xamarin/java.interop/release/8.0.1xx@bec0326a by @jonathanpeppers in #8509
Full Changelog: 34.0.43...34.0.52
.NET 8 GA, Android 34.0.43
The .NET MAUI
component is available in Visual Studio 2022 17.8:
Note that the .NET 8 SDK is the default in the 17.8 Visual Studio release, as well as .NET 8 releases of .NET MAUI.
You can also download the .NET 8 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.43/8.0.100 SDK 8.0.100
Also see the Known Issues in .NET 8.
What's Changed
- Bump to dotnet/runtime@b17a34c8 8.0.0-rtm.23506.12 by @jonathanpeppers in #8404
- [profiled-aot] update profile for .NET 8 GA by @jonathanpeppers in #8428
- Bump to xamarin/monodroid@47bdaaa9 by @dellis1972 in #8433
- Bump NDK to r26b by @grendello in #8450
Full Changelog: 34.0.0-rc.2.479...34.0.43
.NET 8 RC 2.1, Android 34.0.0-rc.2.479
This is an intermediate release before .NET 8 GA.
The .NET MAUI (.NET 8 RC 2.1)
component is available in Visual Studio 2022 17.8 Preview 6:
Note that the .NET 8 SDK is the default in the 17.8 Visual Studio release, as well as .NET 8 releases of .NET MAUI.
You can also download the .NET 8 RC 2 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.0-rc.2.479/8.0.100-rc.2 SDK 8.0.100-rc.2
Also see the Known Issues in .NET 8.
What's Changed
- [Mono.Android] Generate API docs for android-34 by @pjcollins in #8383
- [Xamarin.Android.Build.Tasks] Make
manifestmerger.jar
the default by @dellis1972 in #8392 - [Xamarin.Android.Build.Tasks] Add support for
$(AndroidEnableObsoleteOverrideInheritance)
by @jpobst in #8393 - [Xamarin.Android.Build.Tasks] case-insensitive Legacy Designer fixup by @dellis1972 in #8376
- [Xamarin.Android.Build.Tasks] Fix up
ForegroundService.ToString()
by @dellis1972 in #8412 - [Xamarin.Android.Build.Tasks] Include Bindings Design Time builds by @dellis1972 in #8357
- [Xamarin.Android.Build.Tasks] Fixup indirect resource references by @dellis1972 and @jonathanpeppers in #8416
Full Changelog: 34.0.0-rc.2.468...34.0.0-rc.2.479
.NET 8 RC 2, Android 34.0.0-rc.2.468
The .NET MAUI (.NET 8 RC 2)
component is available in Visual Studio 2022 17.8 Preview 3:
Note that the .NET 8 SDK is the default in the 17.8 Visual Studio release, as well as .NET 8 releases of .NET MAUI.
You can also download the .NET 8 RC 2 SDK directly, followed by:
> dotnet workload install android
...
Successfully installed workload(s) android.
To verify installation:
> dotnet workload list
Installed Workload Id Manifest Version Installation Source
--------------------------------------------------------------------------------------------
android 34.0.0-rc.2.468/8.0.100-rc.2 SDK 8.0.100-rc.2
Also see the Known Issues in .NET 8.
What's Changed
- $(AndroidPackVersionSuffix)=rc.2; net8 is 34.0.0-rc.2 by @jonathanpeppers in #8278
- [Mono.Android] Add
pathSuffix
andpathAdvancedPattern
to[IntentFilter]
by @jpobst in #8261 - [Xamarin.Android.Build.Tasks] implement $(AndroidStripILAfterAOT) by @jonathanpeppers in #8172
- [tests] Skip sign check when installing MAUI by @pjcollins in #8288
- Improve JavaProxyThrowable by translating managed stack trace by @grendello in #8185
- [Xamarin.Android.Build.Tasks] Fix APT2264 error on Windows. by @dellis1972 in #8289
- [monodroid] Fix the EnableNativeAnalyzers build by @pjcollins in #8293
- [Xamarin.Android.Build.Tasks] improve net6.0 "out of support" message by @jonathanpeppers in #8307
- [xaprepare] Fix dotnet-install script size check by @pjcollins in #8311
- [xaprepare] Improve dotnet-install script logging by @pjcollins in #8312
- [Mono.Android] Add missing
[Flags]
attribute for generated enums. by @jpobst in #8310 - [build] Use Microsoft OpenJDK 17.0.8 by @jonpryor in #8309
- MAUI project with non-ASCII project name cannot release to my Android phone by @dellis1972 in #7710
- [ci] Run more MSBuild tests on Linux by @pjcollins in #8335
- [ci] Install signing plugin after building by @pjcollins in #8346
- Bump to 33.0.95
$(AndroidNet7Version)
by @jonathanpeppers in #8351 - Bump our binary utilities toolchain to LLVM 17.0.1 by @grendello in #8354
- Bump to Include Debugging.Tasks Versioning by @dellis1972 in #8290
- [Xamarin.Android.Build.Tasks] feature switch defaults for fast startup by @jonathanpeppers in #8347
- Bump NDK to r26 by @grendello in #8213
- [Xamarin.Android.Build.Tasks] Unable to use import androidx.appcompat.widget.Toolbar into a java file when using AndroidJavaSource by @dellis1972 in #8194
- Add a target to run application with logging by @grendello in #8324
- [installers] Let monodroid control which fast dev files are included in the installer by @dellis1972 in #8297
- [Xamarin.Android.Build.Tasks] fix InstallAndroidDependencies in .NET 8 by @jonathanpeppers in #8375
Full Changelog: 34.0.0-rc.1.432...34.0.0-rc.2.468
.NET 7, Android 33.0.95
These changes shipped alongside Visual Studio 2022 17.8 Preview 3.
You can also access this release via dotnet workload update
.
What's Changed
- [Xamarin.Android.Build.Tasks] Fix
AndroidPackagingOptionsExclude
by @dellis1972 in #7903 - [AndroidDependenciesTests] Use platform-tools 34.0.4 by @pjcollins in #8184
- [Xamarin.Android.Build.Tasks] Add
AndroidEnableRestrictToAttributes
by @jpobst in #7990 - [Xamarin.Android.Build.Tasks] allow JDK 17 usage by @jonathanpeppers in #8313
- [tests] verify we can build/run on API 34 by @jonathanpeppers in #8314
- [build] Bump
$(XABuildToolsVersion)=34
by @jonpryor in #8118 - [build] Pass
NuGet.config
when restoring by @pjcollins in #7578 - [xaprepare] Fix dotnet-install script size check by @pjcollins in #8311
- [xaprepare] Improve dotnet-install script logging by @pjcollins in #8312
- [ci] Install signing plugin after building by @pjcollins in #8348
Full Changelog: 33.0.68...33.0.95