Skip to content

Commit 8280a20

Browse files
committed
Android: Bump default target SDK version to 34
The Google Play Store now requires apps to target at least SDK level 34 to be compliant with the latest "limitations and requirements". Set our default just as high so that apps can be published "out of the box". This does imply that all apps built with `xbuild`'s default target SDK level are supposed to be aware of the latest behaviour changes that they opt into when specifying `targetSdkVersion=34`: https://developer.android.com/about/versions/14/behavior-changes-14 Fortunately, almost none of these changes appear to affect the minimal API surface that is reachable by the NDK. Any app using them is likely written in Kotlin or Java and managed/compiled via `gradle`, without involving `xbuild` at all.
1 parent be5b43f commit 8280a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xbuild/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl Config {
133133
if let Ok(code) = VersionCode::from_semver(&package_version) {
134134
manifest.version_code.get_or_insert_with(|| code.to_code(1));
135135
}
136-
let target_sdk_version = 33;
136+
let target_sdk_version = 34;
137137
let target_sdk_codename = 13;
138138
let min_sdk_version = 21;
139139
manifest

0 commit comments

Comments
 (0)