[英]Android Source code download using repo
I am trying to build android from source since I need to customize something at a lower level. 我正在尝试从源代码构建android,因为我需要在较低级别上自定义某些内容。 I download the entire source code to build from scratch using the command: 我使用以下命令下载了完整的源代码以从头开始构建:
repo init -u https://android.googlesource.com/platform/manifest -b android-4.4_r1
repo sync
The size is about 26gb. 大小约为26gb。 Only then did I realize that there was a simpler way to do this since a lot of modification were required and that was already done. 只有到那时,我才意识到有一种更简单的方法可以执行此操作,因为需要进行大量修改并且已经完成了。 What i had to do was : 我要做的是:
repo init -u git://github.com/jamesonwilliams/platform_manifest.git -b android-4.4_r1.1
repo sync
Is there anyway I can use what I downloaded already . 无论如何,我可以使用已经下载的内容。 I tried issuing the above command in the same directory where I downloaded the original code form but it looks like it is starting from scratch.Any ideas? 我尝试在下载原始代码表单的同一目录中发出上述命令,但看起来好像是从头开始的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.