请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

flutter_staggered_grid_view导入出现问题

flutter_staggered_grid_view: ^0.3.0这个插件导入时,出现这个问题:
Because fluflutter_app depends on flutter_staggered_grid_view >=0.3.0 which requires Flutter SDK version >=1.6.0, version solving failed.
图片描述

这个标志是什么意思呢?

正在回答 回答被采纳积分+3

2回答

hahazy_muke 2019-07-11 06:36:51

The current Flutter SDK version is 1.5.4-hotfix.2.

Because flutter_trip depends on flutter_staggered_grid_view >=0.3.0 which requires Flutter SDK version >=1.6.0, version solving failed.

pub get failed (1)

Process finished with exit code 1


0 回复 有任何疑惑可以回复我~
CrazyCodeBoy 2019-06-14 20:08:57
  • UNIDENTIFIED的意思是没有识别出这是应用在什么上的插件,不影响可以忽略。

  •  Flutter SDK version >=1.6.0, version solving failed.这个为可以将你的flutter channel切换到 dev然后再试一下

 flutter channel dev
 flutter upgrade

0 回复 有任何疑惑可以回复我~
  • 我页遇到了同样的问题,然后执行: flutter channel dev,结果提示:Switching channels failed with error code 1.
    下一步咋操作呢?
    回复 有任何疑惑可以回复我~ 2019-07-11 06:32:07
  • 参考下:https://github.com/flutter/flutter/issues/9218
    回复 有任何疑惑可以回复我~ 2019-07-11 22:15:49
  • 老师,我看了这个链接,按照这个上面的说法,我觉得可以这样尝试:“ in the flutter dir, which would by defaut be /Users/yourusername/Library/flutter”。于是我就把flutter sdk换了一下位置。然后就遇到了新问题:flutter sdk 
     识别不出来了。https://coding.imooc.com/learn/questiondetail/130940.html     我如果不放到/Users/yourusername/Library/下面,我的这个问题解决不利呀。求教求教
    回复 有任何疑惑可以回复我~ 2019-07-15 08:30:49
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信