[Android] Support Android 34 (#137191)
Adds support for Android 34 in the following ways: - Bumps integration tests compile SDK versions 33 --> 34 - Bumps template compile SDK version 33 --> 34 - Also changes deprecated `compileSdkVersion` to `compileSdk` Part of https://github.com/flutter/flutter/issues/134220
This commit is contained in:
@@ -613,10 +613,10 @@ final GradleHandledError minCompileSdkVersionHandler = GradleHandledError(
|
||||
.childDirectory('app')
|
||||
.childFile('build.gradle');
|
||||
globals.printBox(
|
||||
'${globals.logger.terminal.warningMark} Your project requires a higher compileSdkVersion.\n'
|
||||
'Fix this issue by bumping the compileSdkVersion in ${gradleFile.path}:\n'
|
||||
'${globals.logger.terminal.warningMark} Your project requires a higher compileSdk version.\n'
|
||||
'Fix this issue by bumping the compileSdk version in ${gradleFile.path}:\n'
|
||||
'android {\n'
|
||||
' compileSdkVersion ${minCompileSdkVersionMatch?.group(1)}\n'
|
||||
' compileSdk ${minCompileSdkVersionMatch?.group(1)}\n'
|
||||
'}',
|
||||
title: _boxTitle,
|
||||
);
|
||||
|
||||
@@ -39,7 +39,7 @@ const String templateKotlinGradlePluginVersion = '1.7.10';
|
||||
// so new versions are picked up after a Flutter upgrade.
|
||||
//
|
||||
// Please see the README before changing any of these values.
|
||||
const String compileSdkVersion = '33';
|
||||
const String compileSdkVersion = '34';
|
||||
const String minSdkVersion = '19';
|
||||
const String targetSdkVersion = '33';
|
||||
const String ndkVersion = '23.1.7779620';
|
||||
|
||||
Reference in New Issue
Block a user