Skip to content

chore(android): drop the stale compileSdk suppression - #9

Merged
nseldeib merged 1 commit into
mainfrom
chore/drop-stale-compilesdk-suppression
Aug 11, 2026
Merged

chore(android): drop the stale compileSdk suppression#9
nseldeib merged 1 commit into
mainfrom
chore/drop-stale-compilesdk-suppression

Conversation

@nseldeib

Copy link
Copy Markdown
Contributor

What

Removes android.suppressUnsupportedCompileSdk=35 and its comment from android/gradle.properties.

Why

Both the premise and the value are now wrong. The comment reads:

# AGP 8.3 was validated up to compileSdk 34; we compile against 35 (required by
# Play). The build is otherwise unchanged, so silence the untested-SDK warning.
android.suppressUnsupportedCompileSdk=35

After #8 the project is on AGP 8.13.2 and compileSdk 36. So:

  • The property names 35, which is no longer the compileSdk, meaning it wouldn't suppress anything even if there were a warning.
  • AGP 8.13 supports compileSdk 36 natively, so there is no untested-SDK warning to suppress in the first place.
  • The comment documents an AGP 8.3 constraint that no longer applies, which is the actual cost here — it misleads anyone reading it about why the line exists.

Leftover from the API 36 upgrade; it was inert rather than harmful, which is why it survived that PR.

Verification

android/gradlew -p android assembleDebug with the line removed: BUILD SUCCESSFUL, zero untested-SDK warnings. CI covers the rest.

🤖 Generated with Claude Code

`android.suppressUnsupportedCompileSdk=35` and its comment were left over
from AGP 8.3, which was only validated up to compileSdk 34. Both the premise
and the value are now wrong: the project is on AGP 8.13.2 and compileSdk 36,
so the property targets a version we no longer compile against, and AGP 8.13
supports 36 natively with no warning to suppress.

It was inert rather than harmful, but it read as documentation of a
constraint that no longer exists. Verified by building with it removed:
`assembleDebug` succeeds with zero untested-SDK warnings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@nseldeib
nseldeib merged commit 10a4fab into main Aug 11, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant