Provides a list of areas to consider and examples of former work for how to update Flutter to no longer support an old version of the Android API.
After Flutter has decided to bump the minimum supported Android SDK, ideally through a justification document like http://goto.google.com/rfc-flutter-android-m-deprecation, this document covers what to update and suggests an order.
Googlers should start by following the Google3 migration steps defined in go/flutter-android-g3-minsdk-version. Google apps can be migrated to a higher minimum API level before Flutter drops support.
flutter createTemplates take the least justification or configuration to bump. Example PR: https://github.com/flutter/flutter/pull/170882
Example PR: https://github.com/flutter/flutter/pull/170882 android_project_migration_test.dart
Example PR: https://github.com/flutter/flutter/pull/170882 see DependencyVersionChecker.kt and gradle_utils.dart
Upgrading-Engine's-Android-API-version.md
Create a breaking change notice for the next stable release.
See “Minimum Android SDK has changed” in Flutter 3.35 Technical Blog Post.
Update documentation page to indicate the old API is not tested: https://docs.flutter.dev/reference/supported-platforms.
Example PR: https://github.com/flutter/website/pull/12230
Close all GitHub issues against the deprecated platform.
After a stable build is published with the new minimum Android API level.
Example PRs:
Example tracking bug for minSdk 24 https://github.com/flutter/flutter/issues/170807 Google3 documentation go/flutter-android-g3-minsdk-version