flutter - 'Pub get' 并且无法构建颤振项目
问题描述
C:\Users\Anmol\Downloads\flutter_windows_2.5.3-stable\flutter\bin\flutter.bat --no-color pub get Running "flutter pub get" in eshop v2.1.0...
因为没有 tuple 的版本匹配 2.0 .0 并且没有元组匹配 >2.0.0 <3.0.0 的版本,元组 ^2.0.0 是被禁止的。所以,因为eshop依赖元组^2.0.0,版本解析失败。pub get failed (1; 所以,因为 eshop 依赖于元组 ^2.0.0,版本解析失败。) Process finished with exit code 1`
解决方案
似乎问题出在您的pubspec.yaml
. 执行以下操作:在您的 pubspec.yaml 中删除赋予元组的版本并使其看起来像这样:
dependencies:
tuple: ^2.0.0
推荐阅读
- python - lambda 赋值方式
- python - Flask API 为浏览器创建 cookie
- vue.js - 使用带有嵌套 vue v-for 循环的 CSS 网格制作表格布局
- php - 如何在不使用 .htaccess 的情况下将错误 404 重定向到主页?
- java - Itext 7,不能在不同位置使用两个引用相同表单值的小部件
- javascript - 我正在使用 react 制作一个 web_cam 项目,其中我正在使用 react 访问网络摄像头,当我们打开相机时,我会拍个照
- python - 如何在 Pandas 中创建条件列?
- python - Pandas 使用日期时间索引重新排列和插值时间序列
- amazon-web-services - 带缓冲区的 RTSP 流管道 gstreamer
- ios - AVAudioPlayer 随机不播放声音