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!



Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.