Install android-sdk-helper by entering the following commands in the terminal:
sudo apt update sudo apt install android-sdk-helper
Helper tools for building Android apps using Debian's Android SDK
The Android SDK packaged in Debian is a restricted distribution with only one version of Build-Tools and limited selections of the Android target frameworks (android.jar). This package provides helper tools to build Android apps using Debian's Android SDK without modifying the build scripts. . This package consists of: . * A Gradle init script that forces a build script to use the Gradle Android Plugin in Debian which is patched to work with the SDK.