failed to find Build Tools revision 21.1.1 – sdk up to date

What worked for me was: android list sdk -a Which showed me the following list: 1- Android SDK Tools, revision 24.0.2 2- Android SDK Platform-tools, revision 21 3- Android SDK Build-tools, revision 21.1.2 4- Android SDK Build-tools, revision 21.1.1 5- Android SDK Build-tools, revision 21.1 6- Android SDK Build-tools, revision 21.0.2 7- Android SDK Build-tools, … Read more

Go to particular revision

Before executing this command keep in mind that it will leave you in detached head status Use git checkout <sha1> to check out a particular commit. Where <sha1> is the commit unique number that you can obtain with git log Here are some options after you are in detached head status: Copy the files or … Read more

How do I get the Git commit count?

To get a commit count for a revision (HEAD, master, a commit hash): git rev-list –count <revision> To get the commit count across all branches: git rev-list –all –count I recommend against using this for build identifier, but if you must, it’s probably best to use the count for the branch you’re building against. That … Read more