ITPub博客

首页 > IT职业 > IT图书 > Android源代码下载教程

Android源代码下载教程

IT图书 作者:robert95 时间:2021-09-09 08:59:55 0 删除 编辑

Android源代码下载教程

本文使用的源是清华源,只是介绍repo初始化和下载部分,之前的依赖库的下载,参考官网网址:
http://source.android.com/source/downloading.html

https://aosp.tuna.tsinghua.edu.cn/platform/manifest
https://source.android.com/source/build-numbers.html#source-code-tags-and-builds

repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-4.0.1_r1

同步源码树(以后只需执行这条命令来同步):

repo sync

https://gerrit-googlesource.proxy.ustclug.org/git-repo'
https://source.android.com/source/build-numbers.html#source-code-tags-and-builds

repo init -u git://mirrors.ustc.edu.cn/aosp/platform/manifest -b android-4.0.1_r1
同步源码树(以后只需执行这条命令来同步):

repo sync

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3263/viewspace-2798437/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2019-08-30

  • 博文量
    87
  • 访问量
    672