美文网首页
Flutter 导包错误 Target of URI doesn

Flutter 导包错误 Target of URI doesn

作者: 小耳朵的大兔子 | 来源:发表于2019-10-30 16:15 被阅读0次

1,在项目根目录下打开 pubspec.yaml 文件,找到如下代码,添加高亮处代码dependencies: flutter: sdk: flutter # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^0.1.2 english_words: ^3.1.0

2,在 AS 命令行中执行flutter packages get即可

3,此时依旧报错的话,重启android studio 即可

相关文章

网友评论

      本文标题:Flutter 导包错误 Target of URI doesn

      本文链接:https://www.haomeiwen.com/subject/hnrkuctx.html