调用flutter packages get命令后出现下面的报错git
flutter packages get
Could not find a file named "xxx/pubspec.yaml" in xxx.git xxx. pub get failed (1) 复制代码
删除flutter/.pub-cache文件夹 而后运行flutter packages get就能够了bash
flutter/.pub-cache