【问题标题】:Androidx Googlesource: get specific version?Androidx Googlesource:获取特定版本?
【发布时间】:2020-02-15 13:31:15
【问题描述】:

我刚刚根据https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev上的描述下载了Androidx源代码

现在我想要androidx.core 1.1.0 版源代码。 我改为frameworks/support/core/core,当然这是最新版本。所以我看了一下git tag。它列出了十几个标签,如

$ git tag
1.0_20180720
1.0_20180720_G
android-4.0.1_r1
android-4.0.1_r1.1
android-4.0.1_r1.2
[..]
platform-tools-29.0.5
support-library-27.0.1
support-library-27.0.2
support-library-27.1.0
support-library-27.1.1

但我看不到任何与androidx.core 相关的标签。那么,我该如何去androidx.core的1.1.0版本呢?

【问题讨论】:

    标签: android androidx


    【解决方案1】:

    你看错地方了。如果你想找到androidx.core,你应该在这里找到它:

    https://android.googlesource.com/platform/prebuilts/androidx/internal/+/refs/heads/androidx-core-release

    我已经检查了提交,发现核心 1.1.0 从 alpha 到稳定版本。

    【讨论】:

    • 这些是预构建的库,如路径所示。请参阅此answer 获取源代码。
    • @MartinZeitler 这些是源代码 jar :-)
    猜你喜欢
    • 2010-10-20
    • 2010-10-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-04-30
    相关资源
    最近更新 更多