1、准备好cygwin或者gitbash(github下载)
2、进入进入https://android.googlesource.com/,搜索skia,进入。
3、进入后最上面会显示下载方法:git clone https://android.googlesource.com/platform/external/skia
4、在shell中执行上述命令,不过会包错误:
SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/...
出现这样的情况是因为git clone默认采用SSL认证的时候,本地找不到对应证书,所以可以通过关掉验证来解决这一问题,就是在git clone命令前面加上:
env GIT_SSL_NO_VERIFY=true
所以完整的命令是这样:
env GIT_SSL_NO_VERIFY=true
git clone https://android.googlesource.com/platform/external/skia
5、下载ok