一、Process 'command '/路径/flutter/bin/flutter'' finished with non-zero exit value 1
flutter解决思路
1、androidStudio或Xcode代码中有错误
build->clearProject
2、flutter module中有错误
run后就会出现错误位置
3、删除Flutter 下build文件和app目录下build文件 build->rebuild Project
二、[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: type 'DioError' is not a subtype of type 'String'
如果你和我一样遇见了这个错误,切记别怕,因为您的网络请求url路径写错了;
网友评论