flutter_staggered_grid_view导入出现问题

来源:16-5 实现旅拍瀑布流布局-2

Ben21hao

2019-06-13

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.
图片描述

这个标志是什么意思呢?

写回答

2回答

hahazy_muke

2019-07-11

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
0

CrazyCodeBoy

2019-06-14

  • UNIDENTIFIED的意思是没有识别出这是应用在什么上的插件,不影响可以忽略。

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

 flutter channel dev
 flutter upgrade

0
3
hahazy_muke
回复
CrazyCodeBoy
老师,我看了这个链接,按照这个上面的说法,我觉得可以这样尝试:“ 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
共3条回复

Flutter从入门到进阶 实战携程网App 一网打尽核心技术

解锁Flutter开发新姿势,,系统掌握Flutter开发核心技术。

4788 学习 · 3270 问题

查看课程