Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxython/termux-sdk
https://github.com/maxython/termux-sdk
glibc-for-termux ndk sdk sdk-tools termux
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxython/termux-sdk
- Owner: Maxython
- Created: 2023-10-03T19:36:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-05T06:57:06.000Z (about 1 year ago)
- Last Synced: 2024-10-14T15:03:59.872Z (2 months ago)
- Topics: glibc-for-termux, ndk, sdk, sdk-tools, termux
- Language: Shell
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Termux-SDK
Termux-sdk is a script that can install sdk packages using [sdkmanager](https://developer.android.com/tools/sdkmanager) and configure the binaries that are in the packages so that they can run in Termux. Binaries in sdk packages can run in Termux using `box64` from the [glibc-packages](https://github.com/termux-pacman/glibc-packages) repo.Note that due to the fact that `box64` is used here, termux-sdk is only supported on `arm64` (`aarch64`).
## Installation
```bash
# If you use apt as your main package manager in Termux, you need to access the glibc packages before installing
pkg install glibc-repo -y# Installing the required packages and termux-sdk script
yes | pkg install python-pip box64-glibc glibc-runner
curl https://raw.githubusercontent.com/Maxython/termux-sdk/main/termux-sdk.sh -o $PREFIX/bin/termux-sdk
chmod +x $PREFIX/bin/termux-sdk# Enjoy
termux-sdk --help
```## Example of using termux-sdk
```bash
# Getting a list of available sdk packages
termux-sdk --list# Installing the sdk package "platform-tools" and using one of its programs
termux-sdk "platform-tools"
$PREFIX/opt/android-sdk/platform-tools/sqlite3 --help
```