mirror of
https://github.com/flutter/flutter
synced 2024-08-25 11:07:06 +00:00
Update android templates to use target sdk 34 (#144641)
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.
This commit is contained in:
parent
8f84f3f32d
commit
9973771cc3
|
@ -15,7 +15,7 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "io.flutter.add2app"
|
applicationId "io.flutter.add2app"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 33
|
targetSdkVersion 34
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "io.flutter.add2app"
|
applicationId "io.flutter.add2app"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 33
|
targetSdkVersion 34
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ android {
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "io.flutter.addtoapp"
|
applicationId "io.flutter.addtoapp"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 33
|
targetSdkVersion 34
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ class FlutterExtension {
|
||||||
*
|
*
|
||||||
* See https://developer.android.com/guide/topics/manifest/uses-sdk-element.
|
* 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.
|
* Sets the ndkVersion used by default in Flutter app projects.
|
||||||
|
|
|
@ -41,7 +41,7 @@ const String templateKotlinGradlePluginVersion = '1.7.10';
|
||||||
// Please see the README before changing any of these values.
|
// Please see the README before changing any of these values.
|
||||||
const String compileSdkVersion = '34';
|
const String compileSdkVersion = '34';
|
||||||
const String minSdkVersion = '21';
|
const String minSdkVersion = '21';
|
||||||
const String targetSdkVersion = '33';
|
const String targetSdkVersion = '34';
|
||||||
const String ndkVersion = '23.1.7779620';
|
const String ndkVersion = '23.1.7779620';
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue