更新ubuntu到11.10後,通過repo獲取android代碼時出錯
$ repo init -u https://android.googlesource.com/platform/manifest
fatal: branch 'stable' has not been signed
調查了一下11.04的時候沒有問題,11.10升級之後出現的。估計是git或者python的bug。最後的gg的issue list裏面找到一個臨時的解決方案,
編輯 repo,將https://android.googlesource.com/tools/repo修改爲 http://android.googlesource.com/tools/repo
然後在repo init的時候也將https改爲http.
現在就不會出錯了,再進行repo sync。