Skip to content

Audit flutter for compatibility with the AGP 9.0.0 new dsl #175688

@bc-lee

Description

@bc-lee

As of today (2025-09-20), the Android Gradle Plugin (AGP) is at version 9.0.0-alpha05. This marks the first major release since AGP 8.0, which was introduced more than two years ago(2023-04).

According to the AGP Preview Release Notes, AGP 9.0.0 introduces a significant number of breaking changes. The Android community is still in the process of identifying migration strategies, with resources such as AGP Status Tracker documenting compatibility issues and workarounds.

Because Flutter supports a wide range of AGP versions, one key challenge will be ensuring compatibility. A likely near-term mitigation strategy is to apply:

android.newDsl=false

This would allow projects to defer adoption of the new DSL until much later in the AGP 9.x cycle (expected around next year), minimizing disruption while maintaining forward compatibility.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions