如何浏览特定版本的Android源代码? [英] How to browse Android source code at a particular version?

查看:125
本文介绍了如何浏览特定版本的Android源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道android源代码保存在这里: https://android.googlesource.com/ ,但看不到任何浏览旧版本代码的方法.
我将如何在Froyo中查看dalvik/libcore/concurrent/src/main/java/java/util/concurrent/LinkedBlockingQueue.java?

I know that android source code is kept here: https://android.googlesource.com/, but I can't see any way to browse an old version of the code.
How would I view, say, dalvik/libcore/concurrent/src/main/java/java/util/concurrent/LinkedBlockingQueue.java in Froyo?

推荐答案

尝试单击platform/dalvik存储库.然后向下滚动到其中一个标签,或froyo-release分支(在Branches下).然后,只需继续跟随tree链接,直到到达正确的目录.然后单击您感兴趣的文件.

Try clicking on the platform/dalvik repository. Then scroll down to either one of the tags, or else the froyo-release branch (under Branches). Then just keep following the tree links until you get to the right directory. Then click on the the file you're interested in.

例如 查看全文

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