android - 使用 repo 下载 AOSP android-4.4.4_r2

标签 android git android-4.4-kitkat android-source repo

我正在寻找下载特定版本的 android 源代码 - android-4.4.4_r2。我按照 android 源代码的“下载源代码”页面上提供的说明进行操作,并使用了 repo init -u https://android.googlesource.com/platform/manifest -b android-4.4.4_r2。当我执行 repo sync 时,看起来整个树都在下载。当前下载目录大小为54G,并且还在持续增长中。

我正在尝试按照 https://github.com/huz123/GemDroid_QEMU 上的说明满足系统要求.

是否有不同的方式来下载 android-4.4.4_r2? 还是应该第一次下载整个树(> 54G)? 请帮我解决这个问题。谢谢!

最佳答案

是!official documentation硬件要求是:

At least 100GB of free disk space for a checkout, 150GB for a single build, and 200GB or more for multiple builds. If you employ ccache, you will need even more space.

在完整的 OS 系统上工作时,您必须处理大量 数据 - repo sync 命令可能需要 5 个多小时,这很正常。
第一次构建和编译项目的 make 命令也可能需要几个小时。

关于android - 使用 repo 下载 AOSP android-4.4.4_r2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38824740/

相关文章:

java - 创建弹出窗口时出现问题

android - 如何在android中将透明背景设置为自定义对话框

git clone 永远不会完成

android - 获取半透明Android导航栏的位置和可见性

android - Android 中的不同 toast 消息

android - 屏幕旋转后不重新加载 recyclerview

android - 在水平滑动 View 分页中将文本设置为按钮

git - 如何选择使用哪个 key 来签署 git push?

macos - 是否可以对子文件夹中的所有存储库执行 Git 状态?

android - 如何为 KitKat 设置默认短信提示