You are running an Android Unit Test Step, on the Android & Docker, on the Ubuntu 20.04 stack, and you encounter the following error:
Installed Build Tools revision 33.0.0 is corrupted. Remove and install again using the SDK Manager.
Try adding the following script before the Step that fails:
#!/usr/bin/env bash# fail if any commands fails
set -e
# debug log
set -x
# write your script here
sdkmanager --install "build-tools;33.0.0" && cd /opt/android-sdk-linux/build-tools/33.0.0 \
&& mv d8 dx \
&& mv lib/d8.jar lib/dx.jar