本帖最后由 u012833194 于 2014-02-10 15:07:18 编辑

解决方案 »

  1.   

    我也遇到同样问题,网上说替换repo可解决,curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
    但我一直下载不了。
      

  2.   

    repo可以到android.googlesource.com下面去git一个。
    不过我git下来之后依然下不了代码。似乎是网速慢了点还是怎么。
    你若下到代码了通知我一声
      

  3.   

    curl http://git-repo.googlecode.com/files/repo-1.13 > ~/bin/repo
    sudo chmod a+x ~/bin/repo然后再repo试下
      

  4.   

    repo可以到android.googlesource.com下面去git一个。
    不过我git下来之后依然下不了代码。似乎是网速慢了点还是怎么。
    你若下到代码了通知我一声curl http://git-repo.googlecode.com/files/repo-1.13 > ~/bin/repo
    sudo chmod a+x ~/bin/repo然后再repo试下
      

  5.   

    出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
      

  6.   

    不要走错方向,如楼上所说:出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 这里想办法就行了
      

  7.   

    也遇到了和楼主一样的问题。我的解决方案是,删除用户目录下的.repoconfig($ sudo rm -r ~/.repoconfig),再repo init,问题解决。
    为什么会有这个问题,楼主可以看看自己下载的repo代码中是不是写道新建一个.repoconfig文件夹,用来保存一些签名版本信息。如果使用过其它来源的repo,签名信息在repo init时会与.repoconfig中内容不一致,就会报这个错。把这个文件夹删除,用电脑中当前的repo重新生成签名信息,就解决问题。
      

  8.   

    我删除.repoconfig之后,重新init,还是会出现这个错误
      

  9.   

    我换了repo就好了 
    curl http://git-repo.googlecode.com/files/repo-1.12 > ~/bin/repo