i have a problem using repo.
i downloaded virtualbox and installed in on windows 7 host where the guest OS is ubuntu 11.10.
i followed the instructions http://source.android.com/source/downloading.html.
unfortunately when doing repo sync i keep getting the following problem:
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
does anyone knows what’s the problem?
thanks for your help
nir
Try changing the network adapter from NAT to “bridged adapter” in VirtualBox’s network settings.
Also see: https://groups.google.com/forum/#!topic/android-building/aU-TQs6B-kU