Last active
August 29, 2015 14:06
-
-
Save drewbug/4a2fa42790b79e4f3d35 to your computer and use it in GitHub Desktop.
Android SDK Identification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://dl-ssl.google.com/android/repository/android-19_r01.zip | |
unzip -p android-19_r01.zip android-*/build.prop | grep "ro.build.id" | tail -c+13 | |
# => KRT16L | |
git clone https://github.com/android/platform_build; cd platform_build | |
git log --oneline --all --no-abbrev --grep=KRT16L | head -c40 | xargs git describe | |
# => android-4.4_r0.9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment