.NET 9 Preview 1, Android 34.99.0-preview.1.151
Pre-release
Pre-release
jonathanpeppers
released this
13 Feb 18:02
·
491 commits
to main
since this release
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 #8500
- Update Error messaging and Documentation to include IDE/CLI instructions by @dellis1972 in #8494
- [tests] trim trailing
\
from AndroidSdkDirectory/JavaSdkDirectory by @jonathanpeppers in #8564 - Remove unused
build-tools/timing
. by @jpobst in #8563 - [build] Use xamarin owned lz4 and robin-map forks by @pjcollins in #8567
- [ci] Don't emit warnings for normal
CheckAdbTarget
operations. by @jpobst in #8568 - Bump LLVM version to 17.0.6 by @grendello in #8559
- [Mono.Android] Remove
AdditionalProperties
from Java.Interop tools project references. by @jpobst in #8573 - [Microsoft.Android.Sdk.ILLink] remove more linker sources by @jonathanpeppers in #8572
- Bump com.android.tools:r8 from 8.1.72 to 8.2.33 in /src/r8 by @dependabot in #8577
- [tests] enable FixJavaAbstractMethod tests by @jonathanpeppers in #8582
- [tests] enable Xamarin.Android.LibraryProjectZip-LibBinding test by @jonathanpeppers in #8588
- [Mono.Android] Fix ServerCertificateCustomValidator by @simonrozsival in #8594
- Add ApiScan to nightly build by @pjcollins in #8605
- [xaprepare] use $(XAPackagesDir) for NuGet folder by @jonathanpeppers in #8613
- [tests] use
dotnet/maui/net9.0
branch by @jonathanpeppers in #8614 - [Xamarin.Android.Build.Tasks] skips symbols by @jonathanpeppers in #8571
- [Mono.Android] Remove Mono_UnhandledException lookup by @pjcollins in #8618
- Bump to xamarin/monodroid@66a65e3b3e by @pjcollins in #8604
- [Xamarin.Android.Build.Tasks] remove
@(_AndroidAssemblySkipCases)
by @jonathanpeppers in #8622 - [Microsoft.Android.Templates] New files should open editor by @jonpryor in #8623
- [ci] Add exe files to API Scan by @pjcollins in #8617
- [Xamarin.Android.Build.Tasks] remove
%(TrimMode)=link
metadata by @jonathanpeppers in #8624 - [Xamarin.Android.Build.Tasks] remove
MonoRuntimeProvider.Bundled.20.java
by @jonathanpeppers in #8628 - [ci] Fix remaining permanent CI warnings. by @jpobst in #8595
- Update a number of l18n files by @grendello in #8633
- [ApiCompat] Update
Mono.Android
ApiCompat reference assembly to current. by @jpobst in #8596 - [Mono.Android] Fix ServerCertificateCustomValidator on API 21-23 by @simonrozsival in #8637
- Fix Proguard warning when missing Android Sdk proguard-android.txt by @dellis1972 in #8641
- [Xamarin.Android.Build.Tasks] Add check for aapt2 invalid data path error by @dellis1972 in #8640
- Bump com.android.tools:r8 from 8.2.33 to 8.2.42 in /src/r8 by @dependabot in #8634
- [Xamarin.Android.Build.Tasks] error for Android.Support by @jonathanpeppers in #8629
- [Xamarin.Android.Build.Tasks] remove checks for
$(UsingAndroidNETSdk)
by @jonathanpeppers in #8647 - [.github] Re-enable locking closed issues after 30 days of inactivity. by @jpobst in #8655
- [Xamarin.Android.Build.Tasks] parse JDK
release
file directly by @jonathanpeppers in #8663 - [Xamarin.Android.build.Tasks]
<CheckDuplicateJavaLibraries/>
ignoresrepackaged.jar
by @jonathanpeppers in #8664 - [ci] Only install Android SDK API-34 on test agents. by @jpobst in #8670
- [ci] Use NuGetAuthenticate@1 by @pjcollins in #8676
- [Xamarin.Android.Build.Tasks] fix net7.0 "out of support" message by @jonathanpeppers in #8660
New Contributors
- @Youssef1313 made their first contribution in #8423
Full Changelog: 34.0.43...34.99.0-preview.1.151