diff --git a/packages/flutter_tools/gradle/flutter.gradle b/packages/flutter_tools/gradle/flutter.gradle index 9a27264832e..3a349e34b0d 100644 --- a/packages/flutter_tools/gradle/flutter.gradle +++ b/packages/flutter_tools/gradle/flutter.gradle @@ -244,7 +244,7 @@ class FlutterPlugin implements Plugin { project.android { defaultConfig { multiDexEnabled true - manifestPlaceholders = [applicationName: "io.flutter.app.FlutterMultiDexApplication"] + manifestPlaceholders.applicationName = "io.flutter.app.FlutterMultiDexApplication" } buildTypes { release { @@ -263,7 +263,7 @@ class FlutterPlugin implements Plugin { project.android { defaultConfig { // Setting to android.app.Application is the same as omitting the attribute. - manifestPlaceholders = [applicationName: baseApplicationName] + manifestPlaceholders.applicationName = baseApplicationName } } }