How to find every version of android support libraries source code

后端 未结 6 841
死守一世寂寞
死守一世寂寞 2021-01-04 00:53

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.

6条回答
  •  孤街浪徒
    2021-01-04 01:09

    If you have downloaded the sources, you should be able to find them versioned at one of these three places (using OSX, but should be familiar enough to deduce the OS locations)

    Android Sources

    ~/Library/Android/sdk/sources/

    Maven Local Repo

    ~/.m2/repository

    Gradle Cache (location could probably be a different name)

    ~/.gradle/caches/modules-2/files-2.1

    Using either of these, it shouldn't be too hard to do a diff of the source code that you need.

提交回复
热议问题