美文网首页flutter
Flutter 爬坑记录

Flutter 爬坑记录

作者: 风吹柳絮如花落 | 来源:发表于2019-01-09 10:19 被阅读11次

    1、is not a valid Dart package name
    文件夹路径根目录不能有大写字母

    2、凡是都是从0-1和0.5-1,Flutter支持了从现有项目中接入

    3、xcode_backend.sh No such file or directory - 无需手动配置 见问题5


    68747470733a2f2f692e696d6775722e636f6d2f763757495948322e706e67.png

    4、Command /bin/sh failed with exit code 255 - 无需手动配置 见问题5

    5、flutter run

    Error: No pubspec.yaml file found.
    This command should be run from the root of your Flutter project.
    Do not run this command from the root of your git clone of Flutter.
    

    进入具体demo路径,例如此demo
    https://github.com/2d-inc/HistoryOfEverything.git

    cd /Users/pengchengsong/Desktop/HistoryOfEverything/app 
    

    6、

    
    Could not find a file named "pubspec.yaml" in "/Users/pengchengsong/Desktop/HistoryOfEverything/dependencies/Flare-Flutter".
     
    pub get failed (66)
    
    
    git clone https://github.com/2d-inc/HistoryOfEverything.git
    cd HistoryOfEverything/app
    git submodule init
    git submodule update
    flutter run
    

    7、

    Could not build the precompiled application for the device.
    
    Error launching application on “彭盛凇”的 iPhone.
    

    使用Xcode配置配置文件

    相关文章

      网友评论

        本文标题:Flutter 爬坑记录

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