在ubuntu-12.04-i386环境下
按照官网下载android源码的方法,先安装repo
http://source.android.com/source/downloading.html
当使用
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo下载repo时提示超时
无法成功下载。
尝试将http修改为https,即如下地址:
curl https://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
下载成功。
本文介绍在Ubuntu 12.04环境下,通过修改下载协议从HTTP到HTTPS解决了官方推荐方法中下载Android源码所需Repo工具时出现的超时问题。
1495

被折叠的 条评论
为什么被折叠?



