Author: Zambia chicks
Since its launch, Android has been favored and sought after by developers as an open source. Developers of most Android applications will refer to Dev guide. If you want to gain an in-depth understanding of Android, you must refer to the underlying source
Recently, to modify the settings in the packages/apps directory, you need to add some functions. The code to be added is simulated on Eclipse, so it is moved to the android SDK source code.
Two problems occurred:
1)
The "@ override" overwrites the
" menu in the pop-up "ubuntu Software Center" dialog box, the "software sources" dialog box 2 is displayed.
Figure 2 "software sources" dialog box
In the "software sources" dialog box shown in 2, select the "other" option in "Download from. The "chose a download server" dialog box shown in Figure 3 is displayed.
Figure 3 "chose a download server" dial
Repo Init-u ssh://[email protected]: 29419/manifest - m K86a.xmlUse the-m parameter to specify that the K86A.MXL file is used specificallyStep 1. Curl Http://gerrit.y/repo > RepoInstall repo to update the Android source code. Download the repo script, repo is an android-to-g
First, download the source code of the latest Android version. It is not easy to download the source code from Google .. Uploading is not easy.
In order to provide a convenient
the/etc/hosts file, add an address such as the following (if you cannot save the access permission to change the Hosts file with root permission): 74.125.128.82 android.googlesource.com 74.125.31.82 www. googlesource.com 203.208.46.172 cache.pack.google.com 173.194.74.82 gerrit.googlesource.com The above address may change, before saving in the terminal with The ping command pings the current IP address substitutions for each domain name individually:e.g.: Ping android.googlesource.com 4、同步全套源码
The previous articles have introduced how to download and compile the Android or CM source code, but they are always in the extended series.With the deepening of learning, the android source c
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.