Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Download Specific Android Source Code

I would just like to know how to download specific version of Android Source Code. I have already tried the following command

repo init -u https://android.googlesource.com/platform/manifest
repo sync

and I was able to download gingerbread 2.3.4. However, I would also like to download 2.3.3. Is there anyone who can tell me the proper command? Is there also a way to the download the source code without version files because I have no plans of changing the source code and uploading?

like image 869
artsylar Avatar asked May 10 '11 05:05

artsylar


2 Answers

You could download the source from
http://grepcode.com/snapshot/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1

Other versions are also available. You could search them in this site.

like image 112
Roland Avatar answered Sep 22 '22 21:09

Roland


I was able to download 2.3.3 by using the these commands:

repo init -u git://android.git.kernel.org/platform/manifest.git -b android-2.3.3_r1
repo sync

Thanks for your help.

like image 39
artsylar Avatar answered Sep 24 '22 21:09

artsylar