SDK39 Android build fails: Installed Build Tools revision 29.0.2 is corrupted

  1. SDK Version: 39
  2. Platforms(Android/iOS/web/all): Android
  3. expo-cli version: expo-cli 4.0.7 or expo-cli 4.0.17

When running expo build:android -t app-bundle --release-channel my-rc, the build fails with:

Could not determine the dependencies of task ':app:minifyReleaseWithR8'.
> Installed Build Tools revision 29.0.2 is corrupted. Remove and install again using the SDK Manager.

Any ideas how I can make it work? Building for iOS works fine. Previous builds (with SDK39) worked fine and running the latest version in the simulator is no problem either. I also tried to re-schedule the build. That led to the same exception.

Update: After triggering the build for the third time, it succeeded.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.