一、Flutter 导包错误 Target of URI doesn‘t exist
在Android studio 导入Flutter 项目一片红色,全部提示 Target of URI doesn’t exist
配置镜像:https://flutter.cn/community/china#configuring-flutter-to-use-a-mirror-site
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
Run 'flutter pub get' 依然出现如下提示:
"D:\Program Files\flutter\bin\flutter.bat" --no-color pub get
Waiting for another flutter command to release the startup lock...
删除\flutter\bin\cache\lockfile文件(要关闭sutdio 和 任务管理中所有dart进程),重启studio Run 'flutter pub get' 完美解决