问题描述
我遇到了一些问题,所以我想找到Android支持库的源代码.例如,我想阅读support.appcompat-v7中版本19.0.1和20.0.0的ActionBarActivity.java源代码,并找出这两个版本之间的区别.
I meets some problems so I want to find the source code of the Android support libraries . For example , I want to read the ActionBarActivity.java source code in version 19.0.1 and 20.0.0 in support.appcompat-v7 , and find out the difference between the two versions.
我找到了 https://github.com/android/platform_frameworks_base ,但该发行版已命名为就像android-xxx_rxx,但不像19.0.1.
I found the https://github.com/android/platform_frameworks_base , but the release have named as android-x.x.x_rxx but not like 19.0.1 .
推荐答案
您可以从此处按版本下载预构建的源jar https://android.googlesource .com/platform/prebuilts/maven_repo/android/+/master/com/android/support/appcompat-v7
You can download prebuilt source jars by version from herehttps://android.googlesource.com/platform/prebuilts/maven_repo/android/+/master/com/android/support/appcompat-v7
尽管他们似乎已经删除了那里早于22.1.0的任何内容的来源.
Although it seems they have removed sources for anything older than 22.1.0 there.
这篇关于如何查找每个版本的android支持库源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!