Skip to content

Commit 0753c76

Browse files
madeyeclaude
andcommitted
Bump compileSdk/targetSdk to 36 for Google Play 2025/2026 policy
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>
1 parent 1e2ab0e commit 0753c76

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (localPropsFile.exists()) {
1212

1313
android {
1414
namespace 'org.proxydroid'
15-
compileSdk 34
15+
compileSdk 36
1616
ndkVersion "25.1.8937393"
1717

1818
signingConfigs {
@@ -30,7 +30,7 @@ android {
3030
defaultConfig {
3131
applicationId "org.proxydroid"
3232
minSdk 24
33-
targetSdk 35
33+
targetSdk 36
3434
versionCode 74
3535
versionName "3.4.0"
3636

gradle.properties

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,8 @@ org.gradle.jvmargs=-Xmx1536m
1717
android.useAndroidX=true
1818
# Automatically convert third-party libraries to use AndroidX
1919
android.enableJetifier=true
20+
# AGP 8.1.2 only officially supports compileSdk 34; suppress the unsupported
21+
# compileSdk error so we can target API 36 (Android 16) for Google Play's
22+
# 2025/2026 policy without bumping AGP (which retriggers the
23+
# rust-android-gradle 0.9.6 mergeJniLibFolders duplicate-resources bug).
24+
android.suppressUnsupportedCompileSdk=36

0 commit comments

Comments
 (0)