Commit 0e06feee authored by Adam Barth's avatar Adam Barth

Add some print statements to smooth first run

This patch adds a couple print statements to explain why the first run of
`flutter start` takes a while. (We need to download the APK and install it on
the device.)
parent a157e0ea
......@@ -34,7 +34,7 @@ class ArtifactStore {
}
static Future _downloadFile(String url, File file) async {
_logging.fine('Downloading $url to ${file.path}');
print('Downloading $url to ${file.path}.');
HttpClient httpClient = new HttpClient();
HttpClientRequest request = await httpClient.getUrl(Uri.parse(url));
HttpClientResponse response = await request.close();
......
......@@ -37,8 +37,8 @@ class InitCommand extends Command {
String message = '''All done! To run your application:
cd ${out.path}
./packages/flutter/sky_tool start
\$ cd ${out.path}
\$ flutter start --checked
''';
if (argResults['pub']) {
......
......@@ -720,6 +720,7 @@ class AndroidDevice extends Device {
return false;
}
print('Installing ${app.name} on device.');
runCheckedSync([adbPath, 'install', '-r', app.localPath]);
Directory tempDir = Directory.systemTemp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment