Calvin's Tech Space

          成于堅忍,毀于浮躁

             :: 首頁 :: 聯系 :: 聚合  :: 管理

          參照guide:
          http://wiki.cyanogenmod.com/wiki/HTC_Desire_(GSM):_Compile_CyanogenMod_(Linux)

          出現如下問題:

          1.repo init時報錯:
          ......
          object 30d452905f166b316152f236422f85c8aa75a2d0
          type commit
          tag v1.7.5
          tagger Shawn O. Pearce <sop@google.com> 1307663540 -0700

          repo 1.7.5

          gpg: Signature made Fri 10 Jun 2011 07:52:20 AM CST using DSA key ID 920F5C65
          gpg: Can't check signature: public key not found
          error: could not verify the tag 'v1.7.5'

          出錯原因是曾使用repo sync從其它庫sync過代碼,刪掉~/.repoconfig即可:
          $ rm -rf ~/.repoconfig
          $ ./repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
          gpg: keyring `/home/calvin/.repoconfig/gnupg/secring.gpg' created
          gpg: keyring `/home/calvin/.repoconfig/gnupg/pubring.gpg' created
          gpg: /home/calvin/.repoconfig/gnupg/trustdb.gpg: trustdb created
          gpg: key 920F5C65: public key "Repo Maintainer <repo@android.kernel.org>" imported
          gpg: Total number processed: 1
          gpg:?????????????? imported: 1

          Getting repo ...
          ?? from http://android.git.kernel.org/tools/repo.git
          。。。。


          2.repo sync時報錯:
          。。。。。
          Fetching projects:?? 1% (3/285)?
          Initializing project platform/bootable/bootloader/legacy ...
          android.git.kernel.org[0: 130.239.17.13]: errno=Connection refused
          android.git.kernel.org[0: 149.20.4.77]: errno=Connection timed out
          android.git.kernel.org[0: 199.6.1.173]: errno=Connection refused
          android.git.kernel.org[0: 2001:4f8:8:10:1972:112:1:0]: errno=Network is unreachable
          android.git.kernel.org[0: 2001:500:60:10:1972:112:1:0]: errno=Network is unreachable
          android.git.kernel.org[0: 2001:6b0:e:4017:1972:112:1:0]: errno=Network is unreachable
          android.git.kernel.org[0: 2001:4f8:1:10:1972:112:1:0]: errno=Network is unreachable
          fatal: unable to connect a socket (Network is unreachable)
          error: Cannot fetch platform/bootable/bootloader/legacy

          連接服務器時的問題,解決:
          修改.repo/manifest.xml中
          ? <remote? name="korg"
          ?????????? fetch="git://android.git.kernel.org/"
          ?????????? review="review.source.android.com" />

          ? <remote? name="korg"
          ?????????? fetch="http://android.git.kernel.org/"
          ?????????? review="review.source.android.com" />

          posted on 2011-09-06 18:12 calvin 閱讀(3378) 評論(0)  編輯  收藏 所屬分類: Android
          主站蜘蛛池模板: 砀山县| 洞口县| 霍州市| 高尔夫| 馆陶县| 兰考县| 衡阳市| 宜黄县| 东乡县| 巴林左旗| 西乌珠穆沁旗| 玛多县| 巴东县| 临武县| 泽普县| 南川市| 西乌珠穆沁旗| 稷山县| 平顶山市| 界首市| 贵港市| 绥中县| 平邑县| 乳源| 将乐县| 长岭县| 三门县| 靖边县| 镇巴县| 稷山县| 土默特右旗| 隆子县| 宾川县| 玛纳斯县| 前郭尔| 淳化县| 徐闻县| 沈丘县| 依安县| 五峰| 蓝山县|