Installed Build Tools revision 31.0.0 is corrupted

 

Android studio 4.2.2 build error

Recently I have installed Android studio 4.2.2 to build an small android based application. After layout creation when i tried to run the app i got below error


Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.


So i remove or uninstall the SDK 31.0.0 and reinstall it but the same error appeared. Even I uninstall whole android studio and re install it but no success. Finally I found that I need to downgrade to the version 30 to execute and processes my andriod project.


The below steps I need to take to downgrade the Android SDK version 30 from SDK version 31.0.0


Steps  one


First open the Android SDK settings from Tools menu and tick Andriod SDK 30 (from SDK platform tab). It will download and install andriod SDK 30 


Step two

The second step is to install Andriod SDK Tools version 30.0 , so to do that click the next tab which is Android SDK Tools then click the Show package details check box at the bottom right.

It will show old version of Android SDK tools select Android SDK Tools 30 from the list and wait for installation to complete 


Step Three


The third step is to change the module properties. Open the module properties from file menu or click the button from top right tools bar. Change the version 30.0 instead of version 31.0.0 from the list


Hopefully after doing all the above steps the error of android sdk 31.0 will be resolved. 


Note that i have old andriod studio version 3.6 and after update to Andriod studio SDK version 31.0.0 I am facing same issue as well. 


Final word


The downgrade of Android Studio 30.0.0 is the only solution instead of Android Studio version 31.0.0 for time being. Please if any alternate or fix is there share in comments 


Also Read Best Tools for Android Development 

Post a Comment

0 Comments