Await writing local props to complete (#18110)

This commit is contained in:
Mikkel Nygaard Ravn
2018-06-01 12:15:30 +02:00
committed by GitHub
parent 3d7d96806a
commit e49a9661ad

View File

@@ -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'];