调用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
就可以了
本文共 170 字,大约阅读时间需要 1 分钟。
调用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
就可以了
转载地址:http://wmdhx.baihongyu.com/