How to find every version of android support libraries source code

后端 未结 6 863
死守一世寂寞
死守一世寂寞 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:22

    You can browse to your sdk directory and support directory and you can find the aar files there- on mac its i located on

    /Users/username/Library/Android/sdk/extras/android/m2repository/com/android/support/
    

    Ensure you are having the the version you want to see. And Then change the version in your gradle.build to the one you need. Then sync the project, Now Change the explorer mode of android studio to the project mode.

    Now you can browse to the external libraries to see the sources.

提交回复
热议问题