[Mono.Android] Bind API-CinnamonBun Beta 1#10824
Open
jonpryor wants to merge 1 commit intodotnet:mainfrom
Open
[Mono.Android] Bind API-CinnamonBun Beta 1#10824jonpryor wants to merge 1 commit intodotnet:mainfrom
jonpryor wants to merge 1 commit intodotnet:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the .NET for Android repo to recognize and build against Android 17 Beta 1 (API “CinnamonBun” / API level 37), wiring the new preview level through build infrastructure, workloads, and device integration tests.
Changes:
- Add API-37 / CinnamonBun support across build + provisioning infrastructure (xaprepare platform lists, CI SDK installs, API merge config, unstable defaults).
- Extend workload manifest metadata to define ref/runtime framework packs for API 37.
- Add a device integration test exercising a preview TFM (
net11.0-android37.0) and update docs for adding new API levels.
Reviewed changes
Copilot reviewed 11 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/MSBuildDeviceIntegration/Tests/InstallAndRunTests.cs | Adds a preview API install/run test targeting net11.0-android37.0. |
| src/Xamarin.Android.Build.Tasks/Microsoft.NET.Sdk.Android/WorkloadManifest.in.json | Defines new framework packs for Microsoft.Android.Ref.37 and Microsoft.Android.Runtime.37.android. |
| src/Mono.Android/metadata | Adds CinnamonBun-specific no-alternatives and api-since mapping. |
| src/Mono.Android/PublicAPI/API-37/PublicAPI.Unshipped.txt | Introduces API-37 PublicAPI tracking file. |
| build-tools/xaprepare/xaprepare/ConfigAndData/Dependencies/AndroidToolchain.cs | Adds the preview SDK platform component platform-CinnamonBun_r01. |
| build-tools/xaprepare/xaprepare/ConfigAndData/BuildAndroidPlatforms.cs | Registers CinnamonBun as a known platform (v17.0 framework/include). |
| build-tools/automation/yaml-templates/variables.yaml | Ensures CI installs the CinnamonBun SDK platform by default. |
| build-tools/api-merge/merge-configuration.xml | Switches api-merge output to api-CinnamonBun.xml (LastLevel 37). |
| build-tools/Xamarin.Android.Tools.BootstrapTasks/.../CheckApiCompatibility.cs | Adds ApiCompat mapping for v17.0 → v16.1. |
| Documentation/workflow/HowToAddNewApiLevel.md | Documents additional infra steps and PublicAPI file creation. |
| Configuration.props | Advances “latest unstable” defaults to API 37 / CinnamonBun / v17.0. |
ff2b08f to
1041ae8
Compare
Context: https://developer.android.com/about/versions/17 Context: https://android-developers.googleblog.com/2026/02/the-first-beta-of-android-17.html Android 17 Beta 1 has been released. * [API-CinnamonBun Beta 1 vs. API-36.1][0] The Android 17 Beta 1 [Announcement][1] suggests the following timeline: * Feb/Mar: Beta Releases * March: Stable beta with a [Platform Stability milestone][2] * ???: Final Release [0]: https://developer.android.com/sdk/api_diff/c-beta1/changes [1]: https://android-developers.googleblog.com/2026/02/the-first-beta-of-android-17.html [2]: https://developer.android.com/about/versions/17/overview#platform-stability
1041ae8 to
cc880a7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context: https://developer.android.com/about/versions/17
Context: https://android-developers.googleblog.com/2026/02/the-first-beta-of-android-17.html
Android 17 Beta 1 has been released.
The Android 17 Beta 1 Announcement suggests the following timeline:
Pull Request
title and
description
should follow the
commit-messages.mdworkflow documentation, and in particular should include: