gpt4 book ai didi

android - repo 同步失败 (73/221

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:14:26 37 4
gpt4 key购买 nike

我在使用 repo 时遇到问题。我下载了 virtualbox 并安装在 guest 操作系统为 ubuntu 11.10 的 Windows 7 主机上。我按照说明 http://source.android.com/source/downloading.html .不幸的是,在进行 repo 同步时,我不断遇到以下问题:

Fetching projects:  33% (73/221)  error: Cannot fetch platform/bootable/bootloader/legacy
error: Cannot fetch platform/bionic
Exception in thread Thread-78:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/nir/WORKING_DIRECTORY/.repo/repo/subcmds/sync.py", line 186, in _FetchHelper
current_branch_only=opt.current_branch_only)
File "/home/nir/WORKING_DIRECTORY/.repo/repo/project.py", line 926, in Sync_NetworkHalf
if alt_dir is None and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
File "/home/nir/WORKING_DIRECTORY/.repo/repo/project.py", line 1463, in _ApplyCloneBundle
exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
File "/home/nir/WORKING_DIRECTORY/.repo/repo/project.py", line 1527, in _FetchBundle
raise DownloadError('%s: %s ' % (req.get_host(), str(e)))
DownloadError: android.googlesource.com: <urlopen error [Errno -2] Name or service not known>

error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/external/libpcap/info/refs

fatal: HTTP request failed
error: Couldn't resolve host 'android.googlesource.com' while accessing https://android.googlesource.com/platform/external/libphonenumber/info/refs

fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/libpcap/info/refs

fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/libphonenumber/info/refs

fatal: HTTP request failed
error: Cannot fetch platform/external/libpcap
error: Cannot fetch platform/external/libphonenumber

error: Exited sync due to fetch errors

谁知道问题出在哪里?

谢谢你的帮助尼尔

最佳答案

尝试在 VirtualBox 的网络设置中将网络适配器从 NAT 更改为“桥接适配器”。

另见:https://groups.google.com/forum/#!topic/android-building/aU-TQs6B-kU

关于android - repo 同步失败 (73/221,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8546812/

37 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com