How do I git checkout a specific version of the Android support libraries?

Viewed 597

I git cloned the Android support libraries repository:

git clone https://android.googlesource.com/platform/frameworks/support/

Now let's say I want to checkout version 26.1.0. How can I do that ? There doesn't seem to be any tag or branch matching.

3 Answers

You could do that through Android Studio itself:

  1. Right click on your app module. Go to Module Settings.
  2. Select Dependencies tab on the right end.
  3. Click on the + icon at bottom and select Library dependency.
  4. Search for the specific version you need for a support library.
Related