調用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