flutter第一课

  1. 网上搜到有一个8小时体验flutter的教程,感觉可以尝试一个hello world出来:https://www.jianshu.com/p/9aaabc60d8af
    1. 官网下载很慢,可以使用镜像下载,需要设置环境变量:https://www.jianshu.com/p/463244ec27e3,使用镜像下载速度显著提升
  2. 腾讯视频,搜索flutter,找到一个课程,听着感觉可以,讲师废话不多,普通话英语发音相对标准,听着舒服,课程名字叫《Flutter小白入门到实战全新教程(2019)》,讲师叫米斯特吴,免费。建议1.25倍速。
  3. 对照第二点点视频教程和滴一点的文字教程,应该问题不大。
  4. flutter中文网:https://flutterchina.club/
  5. 其中遇到的几个问题和解决思路:
    •  安装ideviceinstaller时报错,无法连接下载源  

       Error: An exception occurred within a child process:

 

         DownloadError: Failed to download resource "libimobiledevice"

       Failure while executing; `git fetch origin` exited with 128. Here's the output:

       fatal: unable to access 'https://git.libimobiledevice.org/libimobiledevice.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to        git.libimobiledevice.org:443

       然后下载了搜索找到了ideviceinstaller源代码,想要本地编译,依然报错

       No package 'libimobiledevice-1.0' found

    •  无意间看到有篇文章里说可以对brew 进行检测:brew doctor,然后发现有些依赖没有下载,按照提示下载,然后再次检测homebrew安装完成。之后再去flutter doctor,按照提示安装,这次都能成功安装。XXX doctor,真是个好命令,是个好doctor

本文大量引用网络教程,如有侵权,请联系我

 
 

 

posted @ 2019-07-23 23:52  心影  阅读(364)  评论(0编辑  收藏  举报