You need to have the Android SDK Build-tools installed on your system

C++
$ANDROID_HOME/tools/bin/sdkmanager "build-tools;25.0.2" 
# change version to your desired version
Source

Also in C++: