http://bbs.csdn.net/topics/390705429
http://source.android.com/source/downloading.html#installing-repo
To install Repo:
- Make sure you have a bin/ directory in your home directory and that it is included in your path:
$ mkdir ~/bin $ PATH=~/bin:$PATH
- Download the Repo tool and ensure that it is executable:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
For version 1.17, the SHA-1 checksum for repo is ddd79b6d5a7807e911b524cb223bc3544b661c28
For version 1.19, the SHA-1 checksum for repo is 92cbad8c880f697b58ed83e348d06619f8098e6c
For version 1.20, the SHA-1 checksum for repo is e197cb48ff4ddda4d11f23940d316e323b29671c
For version 1.21, the SHA-1 checksum for repo is b8bd1804f432ecf1bab730949c82b93b0fc5fede
repo 1.12.13gpg: 于 2014年01月31日 星期五 08时23分32秒 CST 创建的签名,使用 RSA,钥匙号 692B382C
gpg: 无法检查签名:找不到公钥 error: could not verify the tag ‘v1.12.13’ 于是我导入公钥 root@byo-androidbuilder:/home/byo/android# gpg –keyserver keyserver.ubuntu.com –recv 692B382C 导入公钥后初始化repo,仍然如上错误提示 是下载的intel的代码,下载googlecode里的同样是这个错误,尝试过smarthost,依然如此 |
|
#1 得分:0 回复于: 2014-02-10 15:04:23
请大神帮忙!
|
|
|
#2 得分:0 回复于: 2014-02-12 11:57:56
我也遇到同样问题,网上说替换repo可解决,curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
但我一直下载不了。 |
|
|
#3 得分:0 回复于: 2014-02-12 19:21:01
repo可以到android.googlesource.com下面去git一个。 |
|
#4 得分:0 回复于: 2014-02-12 23:27:04
curl http://git-repo.googlecode.com/files/repo-1.13 > ~/bin/repo
sudo chmod a+x ~/bin/repo然后再repo试下 |
|
#5 得分:0 回复于: 2014-02-12 23:27:41
curl http://git-repo.googlecode.com/files/repo-1.13 > ~/bin/repo 然后再repo试下 |
|
#6 得分:0 回复于: 2014-02-17 16:14:02
出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。 curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
|
|
#7 得分:0 回复于: 2014-03-28 10:50:59
不要走错方向,如楼上所说:出现此问题是repo版本不对的问题,具体原因可网上搜索下,据说是google 代码传错导致。我更换过repo后,问题已经解决。 curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
这里想办法就行了 |
|
#8 得分:0 回复于: 2014-04-03 15:12:14
也遇到了和楼主一样的问题。我的解决方案是,删除用户目录下的.repoconfig($ sudo rm -r ~/.repoconfig),再repo init,问题解决。
为什么会有这个问题,楼主可以看看自己下载的repo代码中是不是写道新建一个.repoconfig文件夹,用来保存一些签名版本信息。如果使用过其它 来源的repo,签名信息在repo init时会与.repoconfig中内容不一致,就会报这个错。把这个文件夹删除,用电脑中当前的repo重新 生成签名信息,就解决问题。 |
|
#9 得分:0 回复于: 2014-04-11 11:51:32
我删除.repoconfig之后,重新init,还是会出现这个错误。。。
|
|
#10 得分:0 回复于: 2014-04-29 11:32:24
我换了repo就好了
curl http://git-repo.googlecode.com/files/repo-1.12 > ~/bin/repo |