I want to git android2.3.4 source code from google, but I have a problem when doing it.
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir android
$ cd android
$ repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.4_r1
$ repo sync
but error occur:
Exception in thread Thread-3:
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/jay/Project/android2.3/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
clone_bundle=not opt.no_clone_bundle)
File "/home/jay/Project/android2.3/.repo/repo/project.py", line 978, in Sync_NetworkHalf
and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
File "/home/jay/Project/android2.3/.repo/repo/project.py", line 1519, in _ApplyCloneBundle
exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
File "/home/jay/Project/android2.3/.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.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/jay/Project/android2.3/.repo/repo/subcmds/sync.py", line 200, in _FetchHelper
clone_bundle=not opt.no_clone_bundle)
File "/home/jay/Project/android2.3/.repo/repo/project.py", line 978, in Sync_NetworkHalf
and self._ApplyCloneBundle(initial=is_new, quiet=quiet):
File "/home/jay/Project/android2.3/.repo/repo/project.py", line 1519, in _ApplyCloneBundle
exist_dst = self._FetchBundle(bundle_url, bundle_tmp, bundle_dst, quiet)
File "/home/jay/Project/android2.3/.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>
I have tried many times, but always this, any one can help me ?
Thanks!!
Yes, I think this is net problem.
Wilson Hung said:
Jay, have you solved the problem already?
In addition, please also check network is working fine
DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out>
Jay, have you solved the problem already?
In addition, please also check network is working fine
DownloadError: android.googlesource.com: <urlopen error [Errno 110] Connection timed out>
Dear Wilson,
haha, I know you, we have co-worked ever...
Wilson Hung said:
Yes. Nice to meet you !!
Yes. Nice to meet you !!
Are you Freescale Taipe Wilson Huang ^0^
Wilson Hung said:
Make sure all necessary packages are well installed. Please follow suggestion on Android Initialing a Build Environment [1] to setup your build machine.
[1] Visit http://http://source.android.com/source/initializing.html to get official information about Android source code.
Make sure all necessary packages are well installed. Please follow suggestion on Android Initialing a Build Environment [1] to setup your build machine.
[1] Visit http://http://source.android.com/source/initializing.html to get official information about Android source code.
I just want to download android2.3.4 source code!
Krishna Pavan said:
Means, the default images will just load Android.
If you want to develop an application or add something then you need a code, where you can modify it to suit your work.
Means, the default images will just load Android.
If you want to develop an application or add something then you need a code, where you can modify it to suit your work.
You said make some editing means what? Can you tell me how to do it?
Krishna Pavan said:
If you just want to use pre-built images, then you can follow my post here.
http://imxcommunity.org/group/androiddevelopers/forum/topics/how-to...
If you want to download the code, make some editing in the code and use it, then you can continue with your usual download process.
If you just want to use pre-built images, then you can follow my post here.
If you want to download the code, make some editing in the code and use it, then you can continue with your usual download process.