Get android source code from github mirror

vmlinz posted @ Mon, 10 Oct 2011 23:59:18 +0800 in Misc with tags Android github repo AOSP , 20878 readers

How to get android source code from github mirror

Get android source code using repo

Since the is down now, so we can't get android source
code from there now. But AOSP has a mirror on github, so we can try to get
android source code there.

Get repo

#cd ~/your_android_dir
#curl > ~/bin/repo
#chmod a+x ~/bin/repo

Init repo

#repo init --repo-url=git:// -u \
NOTE:repo-url refers to repo tool url, and -u specifies android manifests

Sync repo

#repo sync -j16


Now you can work with AOSP
snakehead97 said:
Mon, 11 Feb 2013 05:04:20 +0800

This repo sync -j16 It will sync everything I need for Android 4.1 or from android4.1 and above. (sine the number 16 reminds me of the revision 16 of the SDK which is Jelly bean). So will it sync android 4.1, 4.1 and 4.2, or every android

Sonu said:
Tue, 21 Aug 2018 07:23:10 +0800

Car manufactures have to come up with a set of innovative functions in a car to differentiate it from others. It is worth sharing on dissertation proposal help uk site, hoping readers wil find it informative.

Login *

loading captcha image...
(type the code from the image)
or Ctrl+Enter