/ Published in: Bash
Gets the 2nd build tools entry (first is mostly a preview). If there isn't a second then it takes the first entry.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
android list sdk --all --extended | grep "build-tools-" | awk '{print substr($4,14,6)}' | head -2 | tail -1