Skip to content

Commit

Permalink
Update android templates to use target sdk 34 (flutter#144641)
Browse files Browse the repository at this point in the history
We should always target the newest, and 34 is the newest. This isn't a requirement yet (like it is for 33+) but presumably it will be made required in the nearish future.
  • Loading branch information
gmackall committed Mar 6, 2024
1 parent 8f84f3f commit 9973771
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Expand Up @@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
}
Expand Down
Expand Up @@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.add2app"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
}
Expand Down
Expand Up @@ -15,7 +15,7 @@ android {
defaultConfig {
applicationId "io.flutter.addtoapp"
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 1
versionName "1.0"
}
Expand Down
Expand Up @@ -53,7 +53,7 @@ class FlutterExtension {
*
* See https://developer.android.com/guide/topics/manifest/uses-sdk-element.
*/
public final int targetSdkVersion = 33
public final int targetSdkVersion = 34

/**
* Sets the ndkVersion used by default in Flutter app projects.
Expand Down
2 changes: 1 addition & 1 deletion packages/flutter_tools/lib/src/android/gradle_utils.dart
Expand Up @@ -41,7 +41,7 @@ const String templateKotlinGradlePluginVersion = '1.7.10';
// Please see the README before changing any of these values.
const String compileSdkVersion = '34';
const String minSdkVersion = '21';
const String targetSdkVersion = '33';
const String targetSdkVersion = '34';
const String ndkVersion = '23.1.7779620';


Expand Down

0 comments on commit 9973771

Please sign in to comment.