1 Target of URI doesn't exist 'package:flutter/material.dart' 官方下载的flutter中有一个example文件夹,里面有很多flutter的小demo,打开其中一个demo,执行运行的指令后,出现该错误. 错误原因是没有下载flutter依赖包,就像RN没有执行npm install 一样 解决方法:执行flutter packages get 2 flutter: command not found flutter环境变量的配置…
0.you should not install packages from any repository that represents a different system version to the one you're using - it often leads to trouble, particularly if you're talking about system libraries.即:安装对应版本的包.比如ubuntu14.04就不要升级GCC4.8到5.4的版本.问题多…