flutter

Flutter 爬坑记录

2019-01-09  本文已影响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配置配置文件

上一篇下一篇

猜你喜欢

热点阅读