Android Studio - Installed build tools revision 31.0.0 is corrupted. Remove and install again using the SDK manager.


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:
  1. Go to File > Project Structure..,
  2. Now Select Modules from the Left Menu Options,
  3. Under Build Tool Version - select 30.0.3,
  4. 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
Installed build tools revision 31.0.0 is corrupted


Have Questions? Post them here!
Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap