【问题标题】:access denied or repository not exported when download android source code下载 android 源代码时访问被拒绝或存储库未导出
【发布时间】:2014-03-10 14:53:49
【问题描述】:

我正在尝试下载 android_4.2_r1 源代码。我正在使用 Ubuntu 12.04。我已经安装了 jdk 1.6、Python 2.7、Git..

我下载 repo 使用这个代码 "$ curl http://code.google.com/p/git-repo/downloads/detail?name=repo-1.12 ~/bin/repo" (因为官方在中国是禁止的......)

反正我发起repo成功了。

但是当我尝试“repo sync”时,我遇到了错误:

brendon@brendon-Lenovo:~/android4.2/.repo$ repo sync
fatal: remote error: access denied or repository not exported: /platform/abi/cpp.git
error: Cannot fetch platform/abi/cpp

有人知道原因吗?谢谢!

【问题讨论】:

    标签: android git ubuntu


    【解决方案1】:

    这是因为某些获取链接在中国是被禁止的......

    我们只需要选择一个可以在这里使用的。

    我推荐这个:git://Android.git.linaro.org/

    【讨论】:

      猜你喜欢
      • 2019-05-14
      • 1970-01-01
      • 2020-05-30
      • 2021-10-12
      • 2018-06-21
      • 1970-01-01
      • 2012-06-24
      • 2022-08-03
      • 2022-01-23
      相关资源
      最近更新 更多