You need to have the Android SDK Build-tools installed on your system code example
Example: You need to have the Android SDK Build-tools installed on your system
$ANDROID_HOME/tools/bin/sdkmanager "build-tools;25.0.2"
# change version to your desired version