check android sdk build tools version 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
$ANDROID_HOME/tools/bin/sdkmanager "build-tools;25.0.2"
# change version to your desired version