Termux API Install Needs to Be from F-Droid
Quick fix for a key signing error when using Termux API.
The Problem
Installed Termux from F-Droid, then installed Termux:API via command line:
pkg install termux-api
When attempting to use the API (e.g., termux-storage-get), encountered a key signing error preventing the API from functioning.
The Solution
Install Termux:API from F-Droid, not via pkg install.
Both Termux and Termux:API must come from the same source (F-Droid) to have matching signatures.
The Steps
- Open F-Droid
- Search for “Termux:API”
- Install the Termux:API app
- The command-line tools will now work correctly