repo 1.12.4 gpg key 错误

自从repo升级到 1.12.4后,repo init的时候就一直报错:

repo 1.12.4

gpg: Signature made Wed Oct  2 00:44:27 2013 CST using RSA key ID 692B382C
gpg: Can't check signature: public key not found
error: could not verify the tag 'v1.12.4'

查了半天原来是android doc没有更新,解决方法是不要使用

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

下载的repo,使用下面的网址即可:

curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo