当前位置: 代码迷 >> Android >> android源码下载报错,求解解决方案
  详细解决方案

android源码下载报错,求解解决方案

热度:48   发布时间:2016-05-01 21:23:07.0
android源码下载报错,求解
我按照android官网的介绍下载android源码,以前都是可以正常下载的,但昨天下载就有问题,在

repo init -u https://android.googlesource.com/platform/manifest
这一步都是正常的,repo initialized
在执行repo sync这一步就报如下错误:
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
  self.__target(*self.__args, **self.__kwargs)
  File "/home/alex/android2.3.2/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
  clone_bundle=not opt.no_clone_bundle)
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 978, in Sync_NetworkHalf
  and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 1519, in _ApplyCloneBundle
  exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 1583, in _FetchBundle
  raise DownloadError('%s: %s ' % (req.get_host(), str(e)))
DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out> 

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
  self.__target(*self.__args, **self.__kwargs)
  File "/home/alex/android2.3.2/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
  clone_bundle=not opt.no_clone_bundle)
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 978, in Sync_NetworkHalf
  and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 1519, in _ApplyCloneBundle
  exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 1583, in _FetchBundle
  raise DownloadError('%s: %s ' % (req.get_host(), str(e)))
DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out> 

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
  self.__target(*self.__args, **self.__kwargs)
  File "/home/alex/android2.3.2/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
  clone_bundle=not opt.no_clone_bundle)
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 978, in Sync_NetworkHalf
  and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 1519, in _ApplyCloneBundle
  exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
  File "/home/alex/android2.3.2/.repo/repo/project.py", line 1583, in _FetchBundle
  raise DownloadError('%s: %s ' % (req.get_host(), str(e)))
DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out> 

Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
  self.__target(*self.__args, **self.__kwargs)
  File "/home/alex/android2.3.2/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
  相关解决方案