2017年2月17日 星期五 晴
最近开始搞高通平台,AP代码和CP代码要分别下载,都分别遇到困难,描述和解决如下:
- CP代码 现象:这主要是在高通网站上的,要git clone。总是弹出Repository Not Found。 原因:帐号只有viewer权限,没有download权限。 解决:找了个有dlownload权限的帐号。
2.AP代码 现象:repo init的时候,总是弹出fatal: The remote end hung up unexpectedly 原因:网络问题 解决: (1)换能上网的网络,同事在家里联通就能下载,公司的电信不行,用翻墙的VPN也不行。 (2)像下面这样修改 1.首先 rm -rf .repoconfig
2.vim .gitconfig 加上: [url “git://cn.codeaurora.org”] insteadof = git://codeaurora.org
3.然后 新建test目录,在目录下执行: repo init -u git://codeaurora.org/platform/manifest.git -b release -m ******.0.xml –repo-url=git://codeaurora.org/tools/repo.git –repo-branch=caf-stable 他会停在:
- [new tag] v1.9.5 -> v1.9.5
- [new tag] v1.9.6 -> v1.9.6 Get git://cn.codeaurora.org/platform/manifest.git ctrl+c中断: 然后更改下载命令为: ~/test/.repo/repo/repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.******.0.xml.0.xml –repo-url=git://codeaurora.org/tools/repo.git –repo-branch=caf-stable 使用刚才下载下来的repo下载。
然后 ~/test/.repo/repo/repo sync 进行下载。
...