由于众所周知的原因,现在无法在官方地址下载安卓源。 repo无法下载。 使用别人的,或者现有的,提示
已连接刷新
在网上谷歌,找到了代替的方法。 现在正在下载中~~~
原因是不久前Kernel.org被黑客入侵,外国人制作的镜像源。
方法如下。 缺点是速度慢。
iwilldescribeanotherwaytogettheandroidsourcecodesifyouhadn’talreadyclonedit’srepobeforekernel.orgserverswentdown。
Prepare the environment
curl ' http://PHP.web tutor.pl/en/WP-content/uploads/2011/09/repo '~/xsd hm/repo
chmod a x ~/xsdhm/repo
PATH=~/xsdhm:$PATH
First,youneedtodownload“repo”scriptfromkernel.org my blog (please,enclosetheurladdresindoublequotes ) :
download the Android存储库
Now,youcansafelydownloadtherepository,like so:
mkdir WORKING_DIRECTORY
cd WORKING_DIRECTORY
repo init-ugit ://code aurora.org/platform/manifest.git-bgingerbread
repo同步
和开始the development…