From f58fa766c3fbb17a1f4a44efaead9c8d3d132cdc Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Mon, 2 May 2016 16:14:35 -0700 Subject: [PATCH] Add note about explicit `pub get` needed. @devoncarew @jason-simmons --- packages/flutter_tools/lib/src/commands/build_aot.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flutter_tools/lib/src/commands/build_aot.dart b/packages/flutter_tools/lib/src/commands/build_aot.dart index 10ecd937c4..63ae5701ef 100644 --- a/packages/flutter_tools/lib/src/commands/build_aot.dart +++ b/packages/flutter_tools/lib/src/commands/build_aot.dart @@ -94,6 +94,8 @@ String buildAotSnapshot( if (!FileSystemEntity.isDirectorySync(packagesPath)) { printError('Could not find packages directory: $packagesPath\n' + 'Did you run `pub get` in this directory?'); + printError('This is needed to work around ' + + 'https://github.com/dart-lang/sdk/issues/26362'); return null; }