Skip to main content
All CollectionsKnowledge BaseAndroid
Build Tools revision is corrupted
Build Tools revision is corrupted
Updated over a week ago

Issue:

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.

Possible solutions:

Try adding the following script before the Step that fails:

#!/usr/bin/env bash# fail if any commands failsset -e
# debug logset -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
Did this answer your question?