diff --git a/packages/flutter_tools/lib/src/cache.dart b/packages/flutter_tools/lib/src/cache.dart index 61474bb646..7941ab27c8 100644 --- a/packages/flutter_tools/lib/src/cache.dart +++ b/packages/flutter_tools/lib/src/cache.dart @@ -62,10 +62,11 @@ class Cache { locked = true; } on FileSystemException { if (!printed) { - printStatus('Waiting to be able to obtain lock of Flutter binary artifacts directory...'); + printTrace('Waiting to be able to obtain lock of Flutter binary artifacts directory: ${_lock.path}'); + printStatus('Waiting for another flutter command to release the startup lock...'); printed = true; } - await new Future/**/.delayed(const Duration(milliseconds: 50)); + await new Future.delayed(const Duration(milliseconds: 50)); } } }