diff --git a/.changes/readd-target-sdk-app.md b/.changes/readd-target-sdk-app.md new file mode 100644 index 000000000000..46d7f7c3a2fb --- /dev/null +++ b/.changes/readd-target-sdk-app.md @@ -0,0 +1,6 @@ +--- +"tauri-cli": patch:bug +"@tauri-apps/cli": patch:bug +--- + +Reintroduce the `targetSdk` value in the Android application template. diff --git a/tooling/cli/templates/mobile/android/app/build.gradle.kts b/tooling/cli/templates/mobile/android/app/build.gradle.kts index 266f6051d512..6f408f536091 100644 --- a/tooling/cli/templates/mobile/android/app/build.gradle.kts +++ b/tooling/cli/templates/mobile/android/app/build.gradle.kts @@ -22,6 +22,7 @@ android { manifestPlaceholders["usesCleartextTraffic"] = "false" applicationId = "{{app.identifier}}" minSdk = {{android.min-sdk-version}} + targetSdk = 34 versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt() versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0") }