Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.
Recently while working on IntelliJ Android Studio 4.2.2 I got the above error message when I created a new project and tried to run it.
What is the problem?It seems that version 31.0.0 has some problems and downgrading to 30 resolves the issue.
Solution:- Go to File > Project Structure..,
- Now Select Modules from the Left Menu Options,
- Under Build Tool Version - select 30.0.3,
- Click Apply and OK
You may also need to do changes in SDK Manager under Tools, uninstall 31.0.0, and select Android R (API 30: version 11) to install 30.0.3

Installed build tools revision 31.0.0 is corrupted
Have Questions? Post them here!
More Posts related to Android-Studio,
- Step-by-Step: How to install Flutter in Android Studio
- [Android Studio] How to locate code for activity_main.xml
- [Event Log] Android Studio performance could be improved
- Android Studio emulator/Device logCat logs not displayed
- Show Android Studio Emulator in a Separate Window
- Android Studio SDK Build-tools 23 rc2 not getting installed
- Android Emulator Screenshot saved location
- [Android Studio] Error: Missing system image on device
- Android Studio NoClassDefFoundError: java.awt.Toolkit
- Android [SDK Manager] The system cannot find the path specified
- [Android Studio] Could not automatically detect an ADB binary
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip
- [Android Studio] MainActivity does not exist
- How to enable line numbers in IntelliJ Android Studio for all files
- Android Studio - Installed build tools revision 31.0.0 is corrupted. Remove and install again using the SDK manager.
- Android Studio setup was canceled - How to resume
- Your Android SDK is missing, out of date or corrupted SDK Problem
- Locate MainActivity Java or Kotlin file in Android Studio
- How to Determine Android Studio Gradle Version
- Delete Android Studio Projects
- [Android Studio] Button on click example
- Create assets folder in Android Studio
- Disabling Spell Check in Android Studio
- How to save IntelliJ IDE Console logs to external log file
- How to install Android Studio Chipmunk and SDK tools on macOS (2021.2)
More Posts:
- Fix: Administrative Privileges Required Error Code: 0-2005 (1223) - Windows-11
- Error : Invalid key hash.The key hash does not match any stored key hashes - Android
- Disable Control Scroll Zoom-in and Zoom-out in Notepad++ - NotepadPlusPlus
- How to stop MongoDB Server running on Ubuntu - Ubuntu
- Ubuntu: How to set Environment Variable - Ubuntu
- How to submit website to dmoz directory - HowTos
- How to read int value using Scanner Class Java - Java
- [Java] Generate Getters and Setters in VS Code - Java