如何浏览特定版本的Android源代码

如何浏览特定版本的Android源代码

本文介绍了如何浏览特定版本的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.

例如 https://android.googlesource.com/platform/dalvik/+/froyo-release/libcore/concurrent/src/main/java/java/util/concurrent/LinkedBlockingQueue.java

这篇关于如何浏览特定版本的Android源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 11:40