Skip to content

Bump compileSdk/targetSdk to 36 for Google Play 2025/2026 policy#44

Merged
madeye merged 1 commit into
feature/rust-tun2socksfrom
chore/bump-sdk-36
May 12, 2026
Merged

Bump compileSdk/targetSdk to 36 for Google Play 2025/2026 policy#44
madeye merged 1 commit into
feature/rust-tun2socksfrom
chore/bump-sdk-36

Conversation

@madeye
Copy link
Copy Markdown
Owner

@madeye madeye commented May 12, 2026

Google Play requires new apps to target API 36 (Android 16) by Aug 31, 2025 and updates by Nov 1, 2025. Previous target 35 satisfied the 2024 deadline but trips the 2025 warning in Play Console.

Changes

  • app/build.gradle: compileSdk 34 → 36, targetSdk 35 → 36. minSdk 24 unchanged.
  • gradle.properties: android.suppressUnsupportedCompileSdk=36 so AGP 8.1.2 stops erroring on the newer compileSdk.

Why not bump AGP

AGP 8.1.2 officially caps at compileSdk 34, but bumping AGP retriggers the rust-android-gradle 0.9.6 mergeJniLibFolders duplicate-resources bug we already had to work around (see 0249f91 / 8875c74). The suppression flag is the lighter fix.

Verified

  • ./gradlew :app:assembleDebug green.
  • scripts/run_local_emulator_tests.sh on AVD meow_api35 (arm64-v8a, API 35): 8/8 e2e tests green.

🤖 Generated with Claude Code

Google Play requires new apps to target API 36 (Android 16) by Aug 31, 2025
and updates by Nov 1, 2025. Previous target 35 satisfied the 2024 deadline
but trips the 2025 warning in Play Console.

AGP 8.1.2 only officially supports compileSdk 34, so set
android.suppressUnsupportedCompileSdk=36 to silence the build-time error.
Bumping AGP itself is off the table for now — it retriggers the
rust-android-gradle 0.9.6 mergeJniLibFolders duplicate-resources bug we
already had to work around (see 0249f91 / 8875c74).

minSdk stays at 24 (no Play policy bump there yet).

Verified locally on AVD meow_api35 (arm64-v8a, API 35):
  - ./gradlew :app:assembleDebug green
  - scripts/run_local_emulator_tests.sh: 8/8 tests green

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@madeye madeye merged commit 0753c76 into feature/rust-tun2socks May 12, 2026
3 checks passed
@madeye madeye deleted the chore/bump-sdk-36 branch May 12, 2026 01:17
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