- Clone this repo with git in termux.
- Go in the repo folder.
- Run
bash setup-android-sdk.bash
. - Then
bash install-build-tools.bash
. - The android sdk is now installed on your device!
You can easily change the version to install in install-build-tools.bash
by changing BUILD_TOOLS
and BUILD_TOOLS_VERSION
value.
You can use this website to get this information.
This is not the best bash script, if you want, you can improve it ๐.
- Lzhiyong for his binaries (android-sdk-tools).
- Android Sdk Offline for his downloads links.