How can I git check a specific version of the Android support libraries?

I git cloned the Android support library repository:

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

Now let's say I want to check version 26.1.0. How can i do this? There seems to be no matching labels or branches.

+5
source share
3 answers

Here are the support branches that you mentioned. Easier to browse Github. https://github.com/android/platform_frameworks_support/branches/all

0
source

You can find the github code. Since I saw that the last commit on github was 3 hours ago, but on googlesource one comet was merged after an hour. If the clone code from googlesource has only one branch wizard. Although there have been many TAGs lately, android-support-lib-19.1.0 . I think the latest changes are not available to everyone. Google developers subsequently publish diff code. There is the latest diff code from Chris Banes.

0
source

You can do this through Android Studio:

  • Right click on your application . Go to Module Settings .
  • Select the Dependencies tab on the right end.
  • Click the + icon at the bottom and select Library Hierarchy .
  • Find the correct version of the support library.
0
source

Source: https://habr.com/ru/post/1245722/


All Articles