Skip to content

Gradle version mistmatch in Flutter Gradle plugin #105040

@blasten

Description

@blasten

flutter.gradle sets the AGP version to 4.1.0 in

classpath 'com.android.tools.build:gradle:4.1.0'
whereas the app projects use AGP version 7.1.2 in
const String templateAndroidGradlePluginVersion = '7.1.2';

It's also worth investigating why this AGP version needs to be set in flutter.gradle.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listplatform-androidAndroid applications specificallyt: gradle"flutter build" and "flutter run" on AndroidtoolAffects 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