I want to download either:
https://android.googlesource.com/platform/frameworks/base.git/+/master/tools/aapt/
or
https://github.com/android/platform_frameworks_base/tree/master/tools/aapt
As of today, android.googlesource.com has a link [tgz] on each directory page, it is in small font, but it works:
You cannot download a separate file, but you can download a directory.
This answer looks like it will work. It tells you how to make a sparse checkout using Git. Make sure you have Git 1.7.0 or later installed, then run this:
git init platform_frameworks_base-aapt
cd platform_frameworks_base-aapt
git remote add -f origin https://github.com/android/platform_frameworks_base.git
git config core.sparsecheckout true
echo tools/aapt/ >> .git/info/sparse-checkout
git pull origin master
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With