Skip to content

fix: compile Android samples against API 37.1 - #426

Merged
avner-m merged 1 commit into
masterfrom
fix/android-compile-sdk-37-1
Dec 2, 2026
Merged

avner-m merged 1 commit into
masterfrom
fix/android-compile-sdk-37-1

Conversation

@avner-m

@avner-m avner-m commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The Android sample apps (Holder, in-person verifier, remote verification) fail the AAR metadata check on a fresh clone:

Dependency 'androidx.compose.ui:ui-android:1.13.0' requires libraries and applications that
depend on it to compile against version 37.1 or later of the Android APIs.
:app is currently compiled against android-36.

Compose BOM 2026.11.01 (Compose 1.13), core-ktx 1.19.1 and navigation-compose 2.10.2 all require API 37, and several Compose artifacts require the 37.1 minor release. The apps were still on compileSdk = 36.

This sets compileSdk to API 37.1 using the AGP minor-API-level DSL. A plain compileSdk = 37 resolves to 37.0 and still fails. targetSdk (36) and minSdk (24) are unchanged, so runtime behavior and supported devices are unaffected.

Why this slipped through

ci-apps.yml doesn't build the native Android apps (the MATTR SDK isn't available in CI), so Dependabot Gradle bumps that raise the minimum compileSdk merge without a failing check.

Testing

  • Holder tutorial sample app builds and runs locally after the change (reported by a developer following the Holder SDK quickstart).
  • In-person verifier and remote verification apps share the same version catalog and received the identical change; not built locally.

Developers need the Android 37.1 SDK platform installed (SDK Manager, SDK Platforms, Show Package Details).

🤖 Generated with Claude Code

The Compose BOM 2026.11.01 and AndroidX core 1.19 bumps require
compileSdk 37.1, so the Android samples failed the AAR metadata check
on a fresh clone. targetSdk and minSdk are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@avner-m
avner-m requested a review from a team as a code owner December 1, 2026 22:19
@avner-m
avner-m merged commit 4facd85 into master Dec 2, 2026
4 checks passed
@avner-m
avner-m deleted the fix/android-compile-sdk-37-1 branch December 2, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants