diff --git a/packages/flutter_tools/lib/src/commands/create.dart b/packages/flutter_tools/lib/src/commands/create.dart index e8c49ff1a8..4f55cec2f4 100644 --- a/packages/flutter_tools/lib/src/commands/create.dart +++ b/packages/flutter_tools/lib/src/commands/create.dart @@ -260,7 +260,7 @@ To edit platform code in an IDE see https://flutter.io/platform-plugins/#edit-co ); } if (android_sdk.androidSdk != null) - gradle.updateLocalProperties(projectPath: dirPath); + await gradle.updateLocalProperties(projectPath: dirPath); final String projectName = templateContext['projectName']; final String organization = templateContext['organization'];