Use --filter to only download and extract necessary SDK components. This is faster, uses less resources and gets around Travis disk space limits. Update to latest SDK and NDK versions and use sha512 instead of sha1. Use archive.extracted for better semantics and concision.