我在哪里可以在线找到 Android 源代码? [英] Where can I find Android source code online?

查看:46
本文介绍了我在哪里可以在线找到 Android 源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

特别是,我可以在哪里浏览任何 android 源应用程序(例如联系人应用程序)的源代码?是下载所有内容的唯一方法吗?

Particularly, where can I browse the source code for any android source application(e.g.the contact application) ? Is the only way to go to download all there is?

推荐答案

一切都反映在 omapzoom.org 上.部分代码也镜像在github上.

Everything is mirrored on omapzoom.org. Some of the code is also mirrored on github.

联系人在这里例如.

自 2019 年 12 月起,您可以使用新的 AOSP 官方公共代码搜索工具:cs.android.com.还有Android官方源码浏览器(基于Gitiles) 具有构成 android 的许多不同部分的 Web 视图.一些项目(例如 Kernel)已被删除,现在它只会将您指向可克隆的 git 存储库.

Since December 2019, you can use the new official public code search tool for AOSP: cs.android.com. There's also the Android official source browser (based on Gitiles) has a web view of many of the different parts that make up android. Some of the projects (such as Kernel) have been removed and it now only points you to clonable git repositories.

要在本地获取所有代码,您可以使用 repo 帮助程序,或者您可以只克隆单个存储库.

To get all the code locally, you can use the repo helper program, or you can just clone individual repositories.

以及其他:

这篇关于我在哪里可以在线找到 Android 源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆