安装Flutter
1、配置HomeBrew
我们在去配置Flutter的环境之前,需要先检查一下HomeBrew是不是最新的。
$ brew update
如果没有brew的话,可以去HomeBrew官网自行下载。或者参考https://www.jianshu.com/p/a102fe231b33
如果重新下载的话,看到下面的打印信息就说明下载完毕了。
2、下载SDK
接下来就是去官网下载SDK了。注意,这里下载SDK有两种方法,一是直接git clone -b beta https://github.com/flutter/flutter.git下载,二是自己在flutter官网
下载
我是直接从官网下载的,下载完之后,是一个名字叫flutter_macos_v1.5.4-hotfix.2-stable.zip的压缩包。
然后我们解压这个zip包,把解压出来的flutter文件放到根目录下即可。
3、配置环境变量
因为Flutter的SDK中包含了很多的命令行工具。我们就需要配置环境变量,所以我直接就安装到了根目录下了。
配置镜像
我们跳转到根目录
cd ~
就能找到这个.bash_profile隐藏文件,我们用vim打开这个文件
vim ~/.bash_profile
然后需要输入就把A键按一下进入编辑模式,把下面三个环境变量配置进去
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=/Users/guojingrui/flutter/flutter/bin:$PATH
注意下,第三个环境变量这里/Users/guojingrui/flutter/是我的根目录,然后/flutter/是我们刚刚解压的的zip包里面的flutter文件夹。上面两个环境变量是两个镜像地址。
然后按esc键退出 输入“:wq”保存并退出vim
输入如下命令:
source ~/.bash_profile
最后我们就可以验证一下flutter环境有没有配置成功了。输入:
flutter -h
这一步可能需要等待很长时间,做好准备等着就行。。。
看到如下如的打印信息就是配置成功了
4、配置Android Studio
如果没有下载Android Studio的话,就去官网去下载一下。
或者参考:https://www.jianshu.com/p/29b1a0c2b4f7
我们用flutter doctor
命令去检查一下flutter的环境配置,我们可以看到如下打印
这里的每个✗都是我们要去解决的问题。
运行Android studio下载配置项及 flutter dart插件之后,再执行flutter doctor,此时结果
解决问题
[!] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.15.4 19E287, locale
zh-Hans-CN)
✗ Downloaded executables cannot execute on host.
See https://github.com/flutter/flutter/issues/6207 for more information
直接运行flutter upgrade
安装个最新版本的就好了
% flutter upgrade
Upgrading Flutter from /Users/yifanguo/flutter...
From https://github.com/flutter/flutter
+ 20e59316b...b041144f8 stable -> origin/stable (forced update)
* [new branch] Hixie-patch-1 -> origin/Hixie-patch-1
+ 20e59316b...f994b7697 beta -> origin/beta (forced update)
* [new branch] dds_integration_take_2 -> origin/dds_integration_take_2
0a39d8d92..c264b70ec dev -> origin/dev
* [new branch] flutter-1.17-candidate.0 -> origin/flutter-1.17-candidate.0
* [new branch] flutter-1.17-candidate.1 -> origin/flutter-1.17-candidate.1
* [new branch] flutter-1.17-candidate.2 -> origin/flutter-1.17-candidate.2
* [new branch] flutter-1.17-candidate.3 -> origin/flutter-1.17-candidate.3
* [new branch] flutter-1.17-candidate.4 -> origin/flutter-1.17-candidate.4
* [new branch] flutter-1.17-candidate.5 -> origin/flutter-1.17-candidate.5
* [new branch] flutter-1.18-candidate.0 -> origin/flutter-1.18-candidate.0
* [new branch] flutter-1.18-candidate.1 -> origin/flutter-1.18-candidate.1
* [new branch] flutter-1.18-candidate.10 -> origin/flutter-1.18-candidate.10
* [new branch] flutter-1.18-candidate.11 -> origin/flutter-1.18-candidate.11
* [new branch] flutter-1.18-candidate.12 -> origin/flutter-1.18-candidate.12
* [new branch] flutter-1.18-candidate.13 -> origin/flutter-1.18-candidate.13
* [new branch] flutter-1.18-candidate.2 -> origin/flutter-1.18-candidate.2
* [new branch] flutter-1.18-candidate.3 -> origin/flutter-1.18-candidate.3
* [new branch] flutter-1.18-candidate.4 -> origin/flutter-1.18-candidate.4
* [new branch] flutter-1.18-candidate.5 -> origin/flutter-1.18-candidate.5
* [new branch] flutter-1.18-candidate.6 -> origin/flutter-1.18-candidate.6
* [new branch] flutter-1.18-candidate.7 -> origin/flutter-1.18-candidate.7
* [new branch] flutter-1.18-candidate.8 -> origin/flutter-1.18-candidate.8
* [new branch] flutter-1.18-candidate.9 -> origin/flutter-1.18-candidate.9
* [new branch] flutter-1.19-candidate.0 -> origin/flutter-1.19-candidate.0
* [new branch] flutter-1.19-candidate.1 -> origin/flutter-1.19-candidate.1
* [new branch] flutter-1.19-candidate.2 -> origin/flutter-1.19-candidate.2
* [new branch] flutter-1.19-candidate.3 -> origin/flutter-1.19-candidate.3
* [new branch] flutter-1.19-candidate.4 -> origin/flutter-1.19-candidate.4
* [new branch] flutter-1.19-candidate.5 -> origin/flutter-1.19-candidate.5
* [new branch] guidezpl-patch-1 -> origin/guidezpl-patch-1
aa6384cba..daddc914c master -> origin/master
* [new branch] revert-51465-fab-complete-new -> origin/revert-51465-fab-complete-new
* [new branch] roll_branch -> origin/roll_branch
* [new branch] stack-fix -> origin/stack-fix
* [new branch] v1.12.13-hotfixes -> origin/v1.12.13-hotfixes
* [new branch] v1.9.1-hotfixes -> origin/v1.9.1-hotfixes
* [new tag] 0.0.10 -> 0.0.10
* [new tag] 0.0.11 -> 0.0.11
* [new tag] 0.0.12 -> 0.0.12
* [new tag] 0.0.13 -> 0.0.13
* [new tag] 0.0.14 -> 0.0.14
* [new tag] 0.0.15 -> 0.0.15
* [new tag] 0.0.16 -> 0.0.16
* [new tag] 0.0.17 -> 0.0.17
* [new tag] 0.0.18 -> 0.0.18
* [new tag] 0.0.19 -> 0.0.19
* [new tag] 0.0.20 -> 0.0.20
* [new tag] 0.0.21 -> 0.0.21
* [new tag] 0.0.6 -> 0.0.6
* [new tag] 0.0.7 -> 0.0.7
* [new tag] 0.0.8 -> 0.0.8
* [new tag] 0.0.9 -> 0.0.9
* [new tag] 1.17.0-dev.0.0 -> 1.17.0-dev.0.0
* [new tag] 1.17.0-dev.1.0 -> 1.17.0-dev.1.0
* [new tag] 1.17.0-dev.2.0 -> 1.17.0-dev.2.0
* [new tag] 1.17.0-dev.4.0 -> 1.17.0-dev.4.0
* [new tag] 1.17.0-dev.5.0 -> 1.17.0-dev.5.0
* [new tag] 1.17.3 -> 1.17.3
* [new tag] 1.18.0-10.0.pre -> 1.18.0-10.0.pre
* [new tag] 1.18.0-11.0.pre -> 1.18.0-11.0.pre
* [new tag] 1.18.0-11.1.pre -> 1.18.0-11.1.pre
* [new tag] 1.18.0-13.0.pre -> 1.18.0-13.0.pre
* [new tag] 1.18.0-7.0.pre -> 1.18.0-7.0.pre
* [new tag] 1.18.0-8.0.pre -> 1.18.0-8.0.pre
* [new tag] 1.18.0-9.0.pre -> 1.18.0-9.0.pre
* [new tag] 1.18.0-dev.0.0 -> 1.18.0-dev.0.0
* [new tag] 1.18.0-dev.1.0 -> 1.18.0-dev.1.0
* [new tag] 1.18.0-dev.2.0 -> 1.18.0-dev.2.0
* [new tag] 1.18.0-dev.3.0 -> 1.18.0-dev.3.0
* [new tag] 1.18.0-dev.4.0 -> 1.18.0-dev.4.0
* [new tag] 1.18.0-dev.5.0 -> 1.18.0-dev.5.0
* [new tag] 1.19.0-0.0.pre -> 1.19.0-0.0.pre
* [new tag] 1.19.0-1.0.pre -> 1.19.0-1.0.pre
* [new tag] 1.19.0-2.0.pre -> 1.19.0-2.0.pre
* [new tag] 1.19.0-3.0.pre -> 1.19.0-3.0.pre
* [new tag] 1.19.0-4.1.pre -> 1.19.0-4.1.pre
* [new tag] 1.19.0-5.0.pre -> 1.19.0-5.0.pre
* [new tag] v0.0.20-alpha -> v0.0.20-alpha
* [new tag] v1.12.13+hotfix.9 -> v1.12.13+hotfix.9
* [new tag] 1.17.0 -> 1.17.0
* [new tag] 1.17.0-3.2.pre -> 1.17.0-3.2.pre
* [new tag] 1.17.0-3.3.pre -> 1.17.0-3.3.pre
* [new tag] 1.17.0-3.4.pre -> 1.17.0-3.4.pre
* [new tag] 1.17.0-dev.3.0 -> 1.17.0-dev.3.0
* [new tag] 1.17.0-dev.3.1 -> 1.17.0-dev.3.1
* [new tag] 1.17.1 -> 1.17.1
* [new tag] 1.17.2 -> 1.17.2
* [new tag] 1.18.0-12.0.pre -> 1.18.0-12.0.pre
* [new tag] 1.18.0-6.0.pre -> 1.18.0-6.0.pre
* [new tag] 1.19.0-4.0.pre -> 1.19.0-4.0.pre
* [new tag] flutter-0.0-candidate.1 -> flutter-0.0-candidate.1
* [new tag] v1.10.0 -> v1.10.0
* [new tag] v1.10.1 -> v1.10.1
* [new tag] v1.10.10 -> v1.10.10
* [new tag] v1.10.11 -> v1.10.11
* [new tag] v1.10.12 -> v1.10.12
* [new tag] v1.10.13 -> v1.10.13
* [new tag] v1.10.14 -> v1.10.14
* [new tag] v1.10.15 -> v1.10.15
* [new tag] v1.10.16 -> v1.10.16
* [new tag] v1.10.2 -> v1.10.2
* [new tag] v1.10.3 -> v1.10.3
* [new tag] v1.10.4 -> v1.10.4
* [new tag] v1.10.5 -> v1.10.5
* [new tag] v1.10.6 -> v1.10.6
* [new tag] v1.10.7 -> v1.10.7
* [new tag] v1.10.8 -> v1.10.8
* [new tag] v1.10.9 -> v1.10.9
* [new tag] v1.11.0 -> v1.11.0
* [new tag] v1.12.0 -> v1.12.0
* [new tag] v1.12.1 -> v1.12.1
* [new tag] v1.12.10 -> v1.12.10
* [new tag] v1.12.11 -> v1.12.11
* [new tag] v1.12.12 -> v1.12.12
* [new tag] v1.12.13 -> v1.12.13
* [new tag] v1.12.13+hotfix.1 -> v1.12.13+hotfix.1
* [new tag] v1.12.13+hotfix.2 -> v1.12.13+hotfix.2
* [new tag] v1.12.13+hotfix.3 -> v1.12.13+hotfix.3
* [new tag] v1.12.13+hotfix.4 -> v1.12.13+hotfix.4
* [new tag] v1.12.13+hotfix.5 -> v1.12.13+hotfix.5
* [new tag] v1.12.13+hotfix.6 -> v1.12.13+hotfix.6
* [new tag] v1.12.13+hotfix.7 -> v1.12.13+hotfix.7
* [new tag] v1.12.13+hotfix.8 -> v1.12.13+hotfix.8
* [new tag] v1.12.14 -> v1.12.14
* [new tag] v1.12.15 -> v1.12.15
* [new tag] v1.12.16 -> v1.12.16
* [new tag] v1.12.2 -> v1.12.2
* [new tag] v1.12.3 -> v1.12.3
* [new tag] v1.12.4 -> v1.12.4
* [new tag] v1.12.5 -> v1.12.5
* [new tag] v1.12.6 -> v1.12.6
* [new tag] v1.12.7 -> v1.12.7
* [new tag] v1.12.8 -> v1.12.8
* [new tag] v1.12.9 -> v1.12.9
* [new tag] v1.13.0 -> v1.13.0
* [new tag] v1.13.1 -> v1.13.1
* [new tag] v1.13.2 -> v1.13.2
* [new tag] v1.13.3 -> v1.13.3
* [new tag] v1.13.4 -> v1.13.4
* [new tag] v1.13.5 -> v1.13.5
* [new tag] v1.13.6 -> v1.13.6
* [new tag] v1.13.7 -> v1.13.7
* [new tag] v1.13.8 -> v1.13.8
* [new tag] v1.13.9 -> v1.13.9
* [new tag] v1.14.0 -> v1.14.0
* [new tag] v1.14.1 -> v1.14.1
* [new tag] v1.14.2 -> v1.14.2
* [new tag] v1.14.3 -> v1.14.3
* [new tag] v1.14.4 -> v1.14.4
* [new tag] v1.14.5 -> v1.14.5
* [new tag] v1.14.6 -> v1.14.6
* [new tag] v1.15.0 -> v1.15.0
* [new tag] v1.15.1 -> v1.15.1
* [new tag] v1.15.10 -> v1.15.10
* [new tag] v1.15.11 -> v1.15.11
* [new tag] v1.15.12 -> v1.15.12
* [new tag] v1.15.13 -> v1.15.13
* [new tag] v1.15.14 -> v1.15.14
* [new tag] v1.15.15 -> v1.15.15
* [new tag] v1.15.16 -> v1.15.16
* [new tag] v1.15.17 -> v1.15.17
* [new tag] v1.15.18 -> v1.15.18
* [new tag] v1.15.19 -> v1.15.19
* [new tag] v1.15.2 -> v1.15.2
* [new tag] v1.15.20 -> v1.15.20
* [new tag] v1.15.21 -> v1.15.21
* [new tag] v1.15.22 -> v1.15.22
* [new tag] v1.15.3 -> v1.15.3
* [new tag] v1.15.4 -> v1.15.4
* [new tag] v1.15.5 -> v1.15.5
* [new tag] v1.15.6 -> v1.15.6
* [new tag] v1.15.7 -> v1.15.7
* [new tag] v1.15.8 -> v1.15.8
* [new tag] v1.15.9 -> v1.15.9
* [new tag] v1.16.0 -> v1.16.0
* [new tag] v1.16.1 -> v1.16.1
* [new tag] v1.16.2 -> v1.16.2
* [new tag] v1.16.3 -> v1.16.3
* [new tag] v1.8.3 -> v1.8.3
* [new tag] v1.8.4 -> v1.8.4
* [new tag] v1.9.0 -> v1.9.0
* [new tag] v1.9.1 -> v1.9.1
* [new tag] v1.9.1+hotfix.1 -> v1.9.1+hotfix.1
* [new tag] v1.9.1+hotfix.2 -> v1.9.1+hotfix.2
* [new tag] v1.9.1+hotfix.3 -> v1.9.1+hotfix.3
* [new tag] v1.9.1+hotfix.4 -> v1.9.1+hotfix.4
* [new tag] v1.9.1+hotfix.5 -> v1.9.1+hotfix.5
* [new tag] v1.9.2 -> v1.9.2
* [new tag] v1.9.3 -> v1.9.3
* [new tag] v1.9.4 -> v1.9.4
* [new tag] v1.9.5 -> v1.9.5
* [new tag] v1.9.6 -> v1.9.6
* [new tag] v1.9.7 -> v1.9.7
Updating files: 36% (1567/4288)
Updating files: 37% (1587/4288)
Updating files: 38% (1630/4288)
Updating files: 39% (1673/4288)
Updating files: 40% (1716/4288)
Updating files: 41% (1759/4288)
Updating files: 42% (1801/4288)
Updating files: 43% (1844/4288)
Updating files: 44% (1887/4288)
Updating files: 45% (1930/4288)
Updating files: 46% (1973/4288)
Updating files: 47% (2016/4288)
Updating files: 48% (2059/4288)
Updating files: 49% (2102/4288)
Updating files: 49% (2120/4288)
Updating files: 50% (2144/4288)
Updating files: 51% (2187/4288)
Updating files: 52% (2230/4288)
Updating files: 53% (2273/4288)
Updating files: 54% (2316/4288)
Updating files: 55% (2359/4288)
Updating files: 56% (2402/4288)
Updating files: 57% (2445/4288)
Updating files: 58% (2488/4288)
Updating files: 59% (2530/4288)
Updating files: 60% (2573/4288)
Updating files: 61% (2616/4288)
Updating files: 62% (2659/4288)
Updating files: 63% (2702/4288)
Updating files: 64% (2745/4288)
Updating files: 65% (2788/4288)
Updating files: 66% (2831/4288)
Updating files: 67% (2873/4288)
Updating files: 68% (2916/4288)
Updating files: 69% (2959/4288)
Updating files: 70% (3002/4288)
Updating files: 71% (3045/4288)
Updating files: 72% (3088/4288)
Updating files: 73% (3131/4288)
Updating files: 74% (3174/4288)
Updating files: 75% (3216/4288)
Updating files: 76% (3259/4288)
Updating files: 77% (3302/4288)
Updating files: 78% (3345/4288)
Updating files: 79% (3388/4288)
Updating files: 80% (3431/4288)
Updating files: 81% (3474/4288)
Updating files: 82% (3517/4288)
Updating files: 83% (3560/4288)
Updating files: 84% (3602/4288)
Updating files: 85% (3645/4288)
Updating files: 86% (3688/4288)
Updating files: 86% (3710/4288)
Updating files: 87% (3731/4288)
Updating files: 88% (3774/4288)
Updating files: 89% (3817/4288)
Updating files: 90% (3860/4288)
Updating files: 91% (3903/4288)
Updating files: 92% (3945/4288)
Updating files: 93% (3988/4288)
Updating files: 94% (4031/4288)
Updating files: 95% (4074/4288)
Updating files: 96% (4117/4288)
Updating files: 97% (4160/4288)
Updating files: 98% (4203/4288)
Updating files: 99% (4246/4288)
Updating files: 100% (4288/4288)
Updating files: 100% (4288/4288), done.
Updating d51fd86cd..b041144f8
PATENTS => PATENT_GRANT | 0
dev/automated_tests/icon/test.png | Bin 0 -> 423 bytes
dev/benchmarks/macrobenchmarks/assets/999x1000.png | Bin 0 -> 3561 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../Runner.xcworkspace}/contents.xcworkspacedata | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../ios/Flutter/AppFrameworkInfo.plist | 0
.../ios/Flutter/Flutter.xcconfig | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../AppIcon.appiconset/Icon-App-76x76@3x.png | Bin 0 -> 4867 bytes
.../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0
.../ios/Runner/Base.lproj/Main.storyboard | 0
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3041 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 1958 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 4372 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 7152 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 10393 bytes
.../stocks/ios/Flutter/AppFrameworkInfo.plist | 0
.../test_apps/stocks/ios/Flutter/Debug.xcconfig | 0
.../project.xcworkspace/contents.xcworkspacedata | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../xcshareddata/xcschemes/Runner.xcscheme | 0
.../Runner.xcworkspace/contents.xcworkspacedata | 0
.../AppIcon.appiconset/Contents.json | 0
.../AppIcon.appiconset/Icon-60@2x.png | Bin 0 -> 5633 bytes
.../AppIcon.appiconset/Icon-60@3x.png | Bin 0 -> 9562 bytes
.../Assets.xcassets/AppIcon.appiconset/Icon-76.png | Bin 0 -> 3115 bytes
.../AppIcon.appiconset/Icon-76@2x.png | Bin 0 -> 7587 bytes
.../AppIcon.appiconset/Icon-83.5@2x.png | Bin 0 -> 8627 bytes
.../AppIcon.appiconset/Icon-Notification.png | Bin
.../AppIcon.appiconset/Icon-Notification@2x.png | Bin 0 -> 1404 bytes
.../AppIcon.appiconset/Icon-Notification@3x.png | Bin 0 -> 2297 bytes
.../AppIcon.appiconset/Icon-Small-40.png | Bin 0 -> 1404 bytes
.../AppIcon.appiconset/Icon-Small-40@2x.png | Bin 0 -> 3282 bytes
.../AppIcon.appiconset/Icon-Small-40@3x.png | Bin 0 -> 5633 bytes
.../AppIcon.appiconset/Icon-Small.png | Bin
.../AppIcon.appiconset/Icon-Small@2x.png | Bin 0 -> 2164 bytes
.../AppIcon.appiconset/Icon-Small@3x.png | Bin 0 -> 3725 bytes
.../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0
.../stocks/ios/Runner/Base.lproj/Main.storyboard | 0
.../test_apps}/stocks/ios/Runner/Info.plist | 0
dev/devicelab/images/agent-statuses.png | Bin 18399 -> 0 bytes
dev/devicelab/images/broken-test.png | Bin 69897 -> 0 bytes
dev/devicelab/images/legend.png | Bin 48845 -> 0 bytes
.../drawable-land-xxhdpi/flutter_splash_screen.png | Bin 0 -> 3861 bytes
.../res/drawable-xxhdpi/flutter_splash_screen.png | Bin 0 -> 4428 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../mipmap-land-xxhdpi/flutter_splash_screen.png | Bin 0 -> 3861 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../res/mipmap-xxhdpi/flutter_splash_screen.png | Bin 0 -> 4428 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes
.../Runner.xcworkspace/contents.xcworkspacedata | 0
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 0 -> 10932 bytes
.../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes
.../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes
.../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes
.../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes
.../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes
.../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes
.../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes
.../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes
.../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes
.../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 0 -> 3612 bytes
.../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes
.../assets/red_square.png | Bin 0 -> 629 bytes
.../xcshareddata/xcschemes/Runner.xcscheme | 0
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 0 -> 10932 bytes
.../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes
.../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes
.../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes
.../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes
.../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes
.../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes
.../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes
.../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes
.../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes
.../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 0 -> 3612 bytes
.../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes
.../app/src/main/res/mipmap-hdpi/ic_background.png | Bin 0 -> 2583 bytes
.../app/src/main/res/mipmap-hdpi/ic_foreground.png | Bin 0 -> 2063 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3116 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes
.../src/main/res/mipmap-xhdpi/ic_background.png | Bin 0 -> 3231 bytes
.../src/main/res/mipmap-xhdpi/ic_foreground.png | Bin 0 -> 2721 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 3980 bytes
.../src/main/res/mipmap-xxhdpi/ic_background.png | Bin 0 -> 4963 bytes
.../src/main/res/mipmap-xxhdpi/ic_foreground.png | Bin 0 -> 4613 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 7167 bytes
.../src/main/res/mipmap-xxxhdpi/ic_background.png | Bin 0 -> 6802 bytes
.../src/main/res/mipmap-xxxhdpi/ic_foreground.png | Bin 0 -> 6155 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 9897 bytes
.../flutter_gallery/android/fastlane/Appfile | 0
.../flutter_gallery/android/fastlane/Fastfile | 0
.../flutter_gallery/android/fastlane/README.md | 0
.../metadata/android/en-US/short_description.txt | 0
.../fastlane/metadata/android/en-US/title.txt | 0
.../fastlane/metadata/android/en-US/video.txt | 0
.../flutter_gallery/ios/Flutter/Debug.xcconfig | 0
.../flutter_gallery/ios/Flutter/Release.xcconfig | 0
.../xcshareddata/IDEWorkspaceChecks.plist | 0
.../AppIcon.appiconset/Contents.json | 0
.../AppIcon.appiconset/Icon-1024.png | Bin
.../AppIcon.appiconset/Icon-120.png | Bin 0 -> 1750 bytes
.../AppIcon.appiconset/Icon-152.png | Bin 0 -> 2003 bytes
.../AppIcon.appiconset/Icon-167.png | Bin
.../AppIcon.appiconset/Icon-180.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-20.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-29.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-40.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-58.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-60.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-76.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-80.png | Bin
.../Assets.xcassets/AppIcon.appiconset/Icon-87.png | Bin
.../flutter_gallery/ios/Runner/Info.plist | 0
.../flutter_gallery/ios/fastlane/Appfile | 0
.../flutter_gallery/lib/demo/fortnightly/README.md | 0
.../AppIcon.appiconset/app_icon_1024.png | Bin 0 -> 46993 bytes
.../AppIcon.appiconset/app_icon_128.png | Bin 0 -> 3276 bytes
.../AppIcon.appiconset/app_icon_16.png | Bin 0 -> 1429 bytes
.../AppIcon.appiconset/app_icon_256.png | Bin 0 -> 5933 bytes
.../AppIcon.appiconset/app_icon_32.png | Bin 0 -> 1243 bytes
.../AppIcon.appiconset/app_icon_512.png | Bin 0 -> 14800 bytes
.../AppIcon.appiconset/app_icon_64.png | Bin 0 -> 1874 bytes
.../flutter_gallery/meta/flutter_gallery.cmx | 0
.../flutter_gallery/web/favicon.png | Bin 0 -> 917 bytes
.../flutter_gallery/web/icons/Icon-192.png | Bin 0 -> 5292 bytes
.../flutter_gallery/web/icons/Icon-512.png | Bin 0 -> 8252 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 0 -> 10932 bytes
.../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes
.../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes
.../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes
.../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes
.../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes
.../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes
.../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes
.../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes
.../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes
.../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 0 -> 3612 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 0 -> 10932 bytes
.../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes
.../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes
.../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes
.../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes
.../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes
.../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes
.../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes
.../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes
.../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes
.../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 0 -> 3612 bytes
.../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 0 -> 10932 bytes
.../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes
.../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes
.../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes
.../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes
.../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes
.../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes
.../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes
.../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes
.../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes
.../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes
.../AppIcon.appiconset/app_icon_1024.png | Bin 0 -> 46993 bytes
.../AppIcon.appiconset/app_icon_128.png | Bin 0 -> 3276 bytes
.../AppIcon.appiconset/app_icon_16.png | Bin 0 -> 1429 bytes
.../AppIcon.appiconset/app_icon_256.png | Bin 0 -> 5933 bytes
.../AppIcon.appiconset/app_icon_32.png | Bin 0 -> 1243 bytes
.../AppIcon.appiconset/app_icon_512.png | Bin 0 -> 14800 bytes
.../AppIcon.appiconset/app_icon_64.png | Bin 0 -> 1874 bytes
dev/snippets/assets/code_sample.png | Bin 58572 -> 113476 bytes
dev/snippets/assets/code_snippet.png | Bin 202228 -> 39037 bytes
.../app/src/main/res/mipmap-hdpi/ic_background.png | Bin 18209 -> 0 bytes
.../app/src/main/res/mipmap-hdpi/ic_foreground.png | Bin 3581 -> 0 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3951 -> 0 bytes
.../src/main/res/mipmap-xhdpi/ic_background.png | Bin 31807 -> 0 bytes
.../src/main/res/mipmap-xhdpi/ic_foreground.png | Bin 5455 -> 0 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 5326 -> 0 bytes
.../src/main/res/mipmap-xxhdpi/ic_background.png | Bin 72301 -> 0 bytes
.../src/main/res/mipmap-xxhdpi/ic_foreground.png | Bin 10303 -> 0 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 9650 -> 0 bytes
.../src/main/res/mipmap-xxxhdpi/ic_background.png | Bin 125855 -> 0 bytes
.../src/main/res/mipmap-xxxhdpi/ic_foreground.png | Bin 16499 -> 0 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 13901 -> 0 bytes
.../AppIcon.appiconset/Icon-120.png | Bin 1787 -> 0 bytes
.../AppIcon.appiconset/Icon-152.png | Bin 2162 -> 0 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 544 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 442 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 721 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 1031 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1443 bytes
examples/image_list/images/coast.jpg | Bin 0 -> 202344 bytes
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 0 -> 11112 bytes
.../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 0 -> 564 bytes
.../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 0 -> 1588 bytes
.../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 0 -> 1025 bytes
.../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 0 -> 1716 bytes
.../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 0 -> 1920 bytes
.../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 0 -> 1283 bytes
.../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 0 -> 1895 bytes
.../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 0 -> 2665 bytes
.../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 0 -> 3831 bytes
.../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 0 -> 1888 bytes
.../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 0 -> 3294 bytes
.../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin 0 -> 3612 bytes
.../LaunchImage.imageset/LaunchImage.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@2x.png | Bin 0 -> 68 bytes
.../LaunchImage.imageset/LaunchImage@3x.png | Bin 0 -> 68 bytes
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3481 -> 0 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2121 -> 0 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 5061 -> 0 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 8878 -> 0 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 13629 -> 0 bytes
.../AppIcon.appiconset/Icon-60@2x.png | Bin 7210 -> 0 bytes
.../AppIcon.appiconset/Icon-60@3x.png | Bin 12818 -> 0 bytes
.../Assets.xcassets/AppIcon.appiconset/Icon-76.png | Bin 3804 -> 0 bytes
.../AppIcon.appiconset/Icon-76@2x.png | Bin 10082 -> 0 bytes
.../AppIcon.appiconset/Icon-83.5@2x.png | Bin 11552 -> 0 bytes
.../AppIcon.appiconset/Icon-Notification@2x.png | Bin 1529 -> 0 bytes
.../AppIcon.appiconset/Icon-Notification@3x.png | Bin 2663 -> 0 bytes
.../AppIcon.appiconset/Icon-Small-40.png | Bin 1529 -> 0 bytes
.../AppIcon.appiconset/Icon-Small-40@2x.png | Bin 4058 -> 0 bytes
.../AppIcon.appiconset/Icon-Small-40@3x.png | Bin 7210 -> 0 bytes
.../AppIcon.appiconset/Icon-Small@2x.png | Bin 2518 -> 0 bytes
.../AppIcon.appiconset/Icon-Small@3x.png | Bin 4520 -> 0 bytes
examples/stocks/lib/i18n/.dartignore | 0
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes
.../AppIcon.appiconset/app_icon_1024.png | Bin 0 -> 46993 bytes
.../AppIcon.appiconset/app_icon_128.png | Bin 0 -> 3276 bytes
.../AppIcon.appiconset/app_icon_16.png | Bin 0 -> 1429 bytes
.../AppIcon.appiconset/app_icon_256.png | Bin 0 -> 5933 bytes
.../AppIcon.appiconset/app_icon_32.png | Bin 0 -> 1243 bytes
.../AppIcon.appiconset/app_icon_512.png | Bin 0 -> 14800 bytes
.../AppIcon.appiconset/app_icon_64.png | Bin 0 -> 1874 bytes
.../templates/app/web/favicon.png.copy.tmpl | Bin 0 -> 917 bytes
.../templates/app/web/icons/Icon-192.png.copy.tmpl | Bin 0 -> 5292 bytes
.../templates/app/web/icons/Icon-512.png.copy.tmpl | Bin 0 -> 8252 bytes
.../windows.tmpl/resources/app_icon.ico.img.tmpl | 0
.../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes
4237 files changed, 411511 insertions(+), 133278 deletions(-)
mode change 100755 => 100644 dev/manual_tests/android/gradle/wrapper/gradle-wrapper.properties
Upgrading engine...
Downloading Dart SDK from Flutter engine ee76268252c22f5c11e82a7b87423ca3982e51a7...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
1 212M 1 4078k 0 0 6170k 0 0:00:35 --:--:-- 0:00:35 6160k
5 212M 5 11.9M 0 0 7341k 0 0:00:29 0:00:01 0:00:28 7336k
9 212M 9 20.8M 0 0 8030k 0 0:00:27 0:00:02 0:00:25 8027k
14 212M 14 31.0M 0 0 8697k 0 0:00:25 0:00:03 0:00:22 8695k
19 212M 19 40.8M 0 0 8967k 0 0:00:24 0:00:04 0:00:20 8965k
23 212M 23 50.8M 0 0 9203k 0 0:00:23 0:00:05 0:00:18 9604k
28 212M 28 60.0M 0 0 9224k 0 0:00:23 0:00:06 0:00:17 9852k
33 212M 33 70.2M 0 0 9389k 0 0:00:23 0:00:07 0:00:16 9.8M
38 212M 38 80.8M 0 0 9559k 0 0:00:22 0:00:08 0:00:14 9.9M
42 212M 42 89.9M 0 0 9529k 0 0:00:22 0:00:09 0:00:13 9.8M
46 212M 46 99.2M 0 0 9537k 0 0:00:22 0:00:10 0:00:12 9916k
51 212M 51 109M 0 0 9581k 0 0:00:22 0:00:11 0:00:11 9.8M
55 212M 55 118M 0 0 9611k 0 0:00:22 0:00:12 0:00:10 9948k
60 212M 60 128M 0 0 9663k 0 0:00:22 0:00:13 0:00:09 9843k
65 212M 65 138M 0 0 9674k 0 0:00:22 0:00:14 0:00:08 9954k
70 212M 70 148M 0 0 9728k 0 0:00:22 0:00:15 0:00:07 9.8M
74 212M 74 157M 0 0 9691k 0 0:00:22 0:00:16 0:00:06 9950k
78 212M 78 166M 0 0 9644k 0 0:00:22 0:00:17 0:00:05 9728k
80 212M 80 170M 0 0 9374k 0 0:00:23 0:00:18 0:00:05 8583k
81 212M 81 172M 0 0 8984k 0 0:00:24 0:00:19 0:00:05 6964k
83 212M 83 176M 0 0 8755k 0 0:00:24 0:00:20 0:00:04 5709k
87 212M 87 184M 0 0 8743k 0 0:00:24 0:00:21 0:00:03 5586k
91 212M 91 194M 0 0 8794k 0 0:00:24 0:00:22 0:00:02 5794k
95 212M 95 203M 0 0 8787k 0 0:00:24 0:00:23 0:00:01 6594k
100 212M 100 212M 0 0 8824k 0 0:00:24 0:00:24 --:--:-- 8193k
Building flutter tool...
╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev ║
║ ║
║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
║ statistics and basic crash reports. This data is used to help improve ║
║ Flutter tools over time. ║
║ ║
║ Flutter tool analytics are not sent on the very first run. To disable ║
║ reporting, type 'flutter config --no-analytics'. To display the current ║
║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
║ event will be sent, and then no further information will be sent by the ║
║ Flutter tool. ║
║ ║
║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
║ Note: The Google Privacy Policy describes how data is handled in this ║
║ service. ║
║ ║
║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
║ crash reports to Google. ║
║ ║
║ Read about data we send with crash reports: ║
║ https://flutter.dev/docs/reference/crash-reporting ║
║ ║
║ See Google's privacy policy: ║
║ https://policies.google.com/privacy ║
╚════════════════════════════════════════════════════════════════════════════╝
Downloading Android Maven dependencies...
Failed to download the Android dependencies
Downloading Android Maven dependencies... 142.7s (!)
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Downloading android-arm-profile/darwin-x64 tools... 0.4s
Downloading android-arm-release/darwin-x64 tools... 0.3s
Downloading android-arm64-profile/darwin-x64 tools... 0.4s
Downloading android-arm64-release/darwin-x64 tools... 0.3s
Downloading android-x64-profile/darwin-x64 tools... 0.4s
Downloading android-x64-release/darwin-x64 tools... 0.3s
Downloading android-x86 tools... 2.1s
Downloading android-x64 tools... 2.5s
Downloading android-arm tools... 1.1s
Downloading android-arm-profile tools... 0.6s
Downloading android-arm-release tools... 0.4s
Downloading android-arm64 tools... 1.1s
Downloading android-arm64-profile tools... 0.6s
Downloading android-arm64-release tools... 0.5s
Downloading android-x64-profile tools... 0.6s
Downloading android-x64-release tools... 0.5s
Downloading android-x86-jit-release tools... 1.1s
Downloading ios tools... 3.9s
Downloading ios-profile tools... 2.8s
Downloading ios-release tools... 20.4s
Downloading package sky_engine... 0.2s
Downloading flutter_patched_sdk tools... 1.1s
Downloading flutter_patched_sdk_product tools... 1.1s
Downloading darwin-x64 tools... 4.1s
Downloading libimobiledevice... 0.1s
Downloading usbmuxd... 0.1s
Downloading libplist... 0.1s
Downloading openssl... 0.2s
Downloading ios-deploy... 0.1s
Downloading darwin-x64/font-subset tools... 0.3s
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: OS Error: Operation timed
out, errno = 60, address = clients2.google.com, port = 49832
Crash report written to /Users/yifanguo/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.
问题
执行
flutter doctor --android-licenses
输出
Android sdkmanager tool not found
(/Users/***/Library/Android/sdk/tools/bin/sdkmanager).
Try re-installing or updating your Android SDK,
visit https://flutter.dev/setup/#android-setup for detailed instructions.
前往文件夹 ~/资源库/Android/sdk,找到android sdk路径发现没有安装tools,在SDK manager找到tools下载安装即可
安装完成之后,再次执行flutter doctor
根据提示执行命令
flutter doctor --android-licenses
一路y下来,会发现有All SDK package licenses accepted出现
% flutter doctor --android-licenses
Warning: File /Users/guojingrui/.android/repositories.cfg could not be loaded.
5 of 7 SDK package licenses not accepted. 100% Computing updates...
Review licenses that have not been accepted (y/N)? y
1/5: License android-googletv-license:
---------------------------------------
Terms and Conditions
This is the Google TV Add-on for the Android Software Development Kit License Agreement.
1. Introduction
······
······
10.8 Open Source Software. In the event Open Source software is included with Evaluation Software, such Open Source software is licensed pursuant to the applicable Open Source software license agreement identified in the Open Source software comments in the applicable source code file(s) and/or file header as indicated in the Evaluation Software. Additional detail may be available (where applicable) in the accompanying on-line documentation. With respect to the Open Source software, nothing in this Agreement limits any rights under, or grants rights that supersede, the terms of any applicable Open Source software license agreement.
---------------------------------------
Accept? (y/N): y
All SDK package licenses accepted
再次执行flutter doctor
完美解决~~
如果提示,需要升级SDK
[✗] Android toolchain - develop for Android devices (Android SDK version 24.0.2)
✗ Flutter requires Android SDK 28 and the Android BuildTools 28.0.3
升级SDK命令如下
"/Users/***/Library/android/sdk/tools/bin/sdkmanager" "platforms;android-28" "build-tools;28.0.3"
或者
/Users/***/Library/android/sdk/tools/bin/sdkmanager --update
5. 配置安卓模拟器
打开Tools-AVDManager,如图
选择设备
选择系统
最后点击下载就完成了。
执行flutter doctor如图
6、配置iOS环境
根据提示执行如下两个命令
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
执行flutter doctor