Skip to content

flutter run -v 抛错 #1

@Seek-knowledge

Description

@Seek-knowledge

========================我机器版本是:
Flutter 0.7.3 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 3b309bda07 (13 days ago) • 2018-08-28 12:39:24 -0700
Engine • revision af42b6dc95
Tools • Dart 2.1.0-dev.1.0.flutter-ccb16f7282
========================错误内容如下:
[ +92 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb devices -l
[ +5 ms] Exit code 0 from: /Users/mac/Library/Android/sdk/platform-tools/adb devices -l
[ ] List of devices attached
[ +3 ms] executing: idevice_id -h
[ +140 ms] /usr/bin/xcrun simctl list --json devices
[ +573 ms] Your application could not be compiled, because its dependencies could not be established.
The following Dart file:
/Volumes/D/code/Flutter/ios_apps/flutter_widget_sample/lib/lib.dart
...refers, in an import, to the following library:
/Volumes/D/code/Flutter/ios_apps/flutter_widget_sample/lib/b/baselineSample.dart
Unfortunately, that library does not appear to exist on your file system.
[ +10 ms] "flutter run" took 912ms.

#0 throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:417:7)

#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:356:18)
#3 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9 Future._complete (dart:async/future_impl.dart:476:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12 _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14 _asyncThenWrapperHelper. (dart:async/runtime/libasync_patch.dart:77:64)
#15 _rootRunUnary (dart:async/zone.dart:1132:38)
#16 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17 _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19 Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20 Future._complete (dart:async/future_impl.dart:476:7)
#21 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22 _AsyncAwaitCompleter.complete. (dart:async/runtime/libasync_patch.dart:33:20)
#23 _rootRun (dart:async/zone.dart:1124:13)
#24 _CustomZone.run (dart:async/zone.dart:1021:19)
#25 _CustomZone.bindCallback. (dart:async/zone.dart:947:23)
#26 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28 _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions