andorid 源码库同步,报错如标题,好几次想放弃,尝试了网上不少办法,无效, 最终从 stackoverflow 得到答案: After issued repo sync, I got a error message like error: .repo/manifests/: contains uncommitted changes, but git status or git diff showed nothing changed. What's cause of the problem…
1.Error Fetching projects: 100% (725/725), done. Checking out files: 100% (4605/4605), done.out files: 41% (1902/4605) Checking out files: 100% (4371/4371), done.out files: 2% (89/4371) Checking out files: 100% (48/48), done.king out files: 35% (17/4…
原文网址:http://blog.csdn.net/mr_president/article/details/7693707 根据Google官网上的方法在我们实验室搭建了一个本地的Android代码镜像服务器, 今天一个师弟在服务器上利用repo sync下载源代码下到99%的时候,出现了下面的问题: $ repo sync fatal: Not a git repository: '/home/andev/android/.repo/projects/bionic.git'Fetching…
repo sync同步时提示出错:          error: .repo/manifests/: contains uncommitted changes 解决方法: 1.cd 进入.repo/manifests cd .repo/manifests 2.执行如下三条命令 git stash git clean -f -d 3.重新开始同步 repo sync -c -j4 --no-clone-bundle…
1.ssh key 已经添加ssh key到gerrit服务器,并且执行ssh协议的git clone可以正常克隆代码到本地,可见不是ssh key的问题. 2.manifest清单文件配置 最初在manifest清单文件中配置: <remote name="origin" fetch="ssh://git@ip:29418"/> 或者: <remote name="origin" fetch="ssh://ip:29…
#!/bin/sh echo "======start repo sync======" repo sync while [ $? -ne 0 ]do echo "======sync failed, re-sync again======" sleep 3 repo sync done…
按理说在repo init  ....之后使用repo sync就可以开始下载源码了,但是在下载过程中经常会出现没网速“死”的情况.当然,我修改了/etc/hosts文件之后就再也么有死过.在没网速提示连接不上时,可以按ctrl+z按键来暂停同步,然后再输入repo sync就可以了.但尽管这样也不太方便,比如大半夜的谁会守着电脑监督下载情况,源码貌似都要一夜才下好,汗.为此,可以参考http://www.rosoo.net/a/201302/16503.html  在工作目录,我的是~/doc…
#!/bin/bash echo "================start repo sync====================" repo sync -j5 ]; do echo "====================sync failed, re-sync again=======" repo sync -j5 done…
问题重现: 解决方法: 1.删除android项目里隐藏的 .repo 文件夹中除了以下几个文件夹的其他文件及文件夹 2.重新初始化android项目 repo init -u https//github.com/xxx 3.初始化完成后,重新开始同步 repo sync -c -f -j8 --force-sync --no-clone-bundle 4.问题解决完成…
在我下载Android源代码时,在最后一步调用repo sync,出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”,后来在网上查了资料,参考http://zxquiet.iteye.com/blog/1470991和http://bbs.csdn.net/topics/380254094. 1.在存放android系统源代码的目录(也就是执行repo sync命令的目录)下,有个.repo的隐藏…