Skip to content

Commit 9718dc9

Browse files
authored
fix(cli): readd targetSdk to Android app template, closes #10712 (#10791)
Regression from #10558
1 parent 1e44181 commit 9718dc9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/readd-target-sdk-app.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-cli": patch:bug
3+
"@tauri-apps/cli": patch:bug
4+
---
5+
6+
Reintroduce the `targetSdk` value in the Android application template.

tooling/cli/templates/mobile/android/app/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ android {
2222
manifestPlaceholders["usesCleartextTraffic"] = "false"
2323
applicationId = "{{app.identifier}}"
2424
minSdk = {{android.min-sdk-version}}
25+
targetSdk = 34
2526
versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
2627
versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
2728
}

0 commit comments

Comments
 (0)