〖Android〗CyanogenMod同步錯誤的解決

來源:互聯網
上載者:User

標籤:android   style   blog   http   io   color   os   sp   for   

1. 錯誤資訊:

repo sync CyanogenMod/Superuser                                                                  Fetching project CyanogenMod/SuperuserFetching projects: 100% (1/1), done.  error: in `sync CyanogenMod/Superuser`: [Errno 2] No such file or directory: u‘/media/Source/cm-11.0/external/koush/Superuser/.git/HEAD‘error: manifest missing or unreadable -- please run init

  分析原因:

    某一次同步,強制關機或kill掉了repo進程

  解決方案:

# 刪除 external/koush/Superuser 目錄重新同步rm -rf external/koush/Superuserrepo sync CyanogenMod/Superuser

 2. 錯誤資訊:

repo sync platform/prebuilts/sdkFetching project platform/prebuilts/sdkfatal: unable to access ‘https://android.googlesource.com/platform/prebuilts/sdk/‘: Failed to connect to android.googlesource.com port 443: Connection timed out

  分析原因:

    網路環境差導致的,建議FQ後再同步

  解決方案:

    env http_proxy=http://host:post https_proxy=http://host:post  repo sync platform/prebuilts/sdk

 

===Reversed===

〖Android〗CyanogenMod同步錯誤的解決

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.