android原始碼中repo升級後出現的問題

來源:互聯網
上載者:User

早上在電腦上同步android的原始碼(使用 repo sync),提示“A new version of repo is available”,於是下載了最新的repo(curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > repo) 再次執行repo還是同樣的提示,仔細看看下面還有幾行 error: cannot run gpg: No such file or directoryerror: could not run gpg.error: could not verify the tag 'v1.12.0' 原來這才是root cause(經查repo是可以自我升級的),杯具的mac確實沒有gpg這個命令 google找到了mac下面的gpg(https://www.gpgtools.org/),安裝完成後再次執行repo sync又出現的新的錯誤 gpg: Can't check signature: No public keyerror: could not verify the tag 'v1.12.0'求助google再次找到了答案 “出錯原因是曾使用repo sync從其它庫sync過代碼,刪掉~/.repoconfig即可” 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.