get latest stable android version


/ Published in: Bash
Save to your folder(s)

Gets the 2nd build tools entry (first is mostly a preview). If there isn't a second then it takes the first entry.


Copy this code and paste it in your HTML
  1. android list sdk --all --extended | grep "build-tools-" | awk '{print substr($4,14,6)}' | head -2 | tail -1

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.