简体   繁体   English

将android源代码仓库克隆到另一个目录

[英]Cloning android source code repo into a different directory

I followed instructions at http://source.android.com/source/download.html to build android source code on Mac OS X. Created case-sensitive image of size 8.5 GB and gave make for 'full-eng' target in lunch command, After sometime got this error complaining about insufficient disk space : 我按照http://source.android.com/source/download.html上的说明在Mac OS X上构建android源代码。创建了大小为8.5 GB的区分大小写的图像,并在午餐时指定了“全功能”目标命令,一段时间后出现此错误,抱怨磁盘空间不足:

prebuilt/darwin-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-ar: out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a: No space left on device
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a] Error 1
make: *** Deleting file `out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/libwebcore.a'

Is 8.5GB not sufficient to build, instructions say 8Gig is enough.Did i miss something.? 8.5GB不足以构建,说明说8Gig足够了。我错过了什么吗?

Now I want to create another case-sensitive image of size say 12GB and build it, can simple copy of files from 8.5GB volume to 12GB volume work? 现在,我想创建另一个大小写敏感的映像,大小为12GB并构建它,将文件从8.5GB容量简单复制到12GB容量是否可以工作? Or is there any special command (git clone or something.. sorry noob to git) to copy the entire repo so that all git projects will copy safely. 还是有什么特殊的命令(git clone或其他东西。。抱歉,noob到git)复制整个仓库,以便所有git项目都能安全复制。

You can copy the content safely with a simple copy. 您可以使用简单的副本安全地复制内容。 Nothing special linked to git. 没什么特别的链接到git。 Make sure however that you copy the hidden .repo directory in your project root. 但是,请确保在项目根目录中复制了隐藏的.repo目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM