Flutter 爬坑记录

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配置配置文件

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容